uic.widgets.filechooser
Class SystemUtil
java.lang.Object
uic.widgets.filechooser.SystemUtil
- Direct Known Subclasses:
- SystemUtil.DefaultSystemUtil, SystemUtil.KDESystemUtil
public abstract class SystemUtil
- extends Object
Method Summary |
abstract File |
getFile(String fileName)
Returns a file based on the filename
For some platforms "Special files may exist, for example "devices:/" for linux systems |
static SystemUtil |
getInstance()
|
abstract Vector |
getShortCuts(boolean largeIcons)
Returns a vector of FCImageIcon objects. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemUtil
public SystemUtil()
getShortCuts
public abstract Vector getShortCuts(boolean largeIcons)
- Returns a vector of FCImageIcon objects.
Returs a vector of FCImageIcon objects depending on the users system (KDE or windows)
Every image icon reprecents a shortcut in the left bar of the file chooser
TODO return shortcuts that are added for this specific instance...
- Returns:
- Vector of FCImageIcon objects
getFile
public abstract File getFile(String fileName)
- Returns a file based on the filename
For some platforms "Special files may exist, for example "devices:/" for linux systems
- Parameters:
fileName
- the name of the file to return
- Returns:
- a File based on fileName
getInstance
public static SystemUtil getInstance()
Copyright © 2002-2004 Thomas Zander Available under the Free Apache licence