uic.widgets.filechooser
Class Shortcut
java.lang.Object
uic.widgets.filechooser.Shortcut
public class Shortcut
- extends Object
Class for shortcut support in the filechooser.
This class will support KDE shortcuts and Windows Shortcut files
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Shortcut
public Shortcut()
getInstance
protected static uic.widgets.filechooser.Shortcut.ShortcutInterface getInstance()
isShortcut
public static boolean isShortcut(File f)
throws IOException
- Returns true if the file is a shortcut.
Currently only supports windows shortcut files.. (kind of)
- Parameters:
f
- the file to check
- Returns:
- true if f is a shortcut
- Throws:
IOException
getDestination
public static File getDestination(File shortcut)
throws IOException
- Throws:
IOException
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2002-2004 Thomas Zander Available under the Free Apache licence