|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.fife.ui.rtextfilechooser.FileDisplayNames
public class FileDisplayNames
Utility class for getting file display names. Useful to avoid potential performance pitfalls, such as removal media drives on Windows.
Method Summary | |
---|---|
static FileDisplayNames |
get()
Returns the singleton instance of this class. |
java.lang.String |
getName(java.io.File file)
Returns the display name for a given file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static FileDisplayNames get()
public java.lang.String getName(java.io.File file)
file
- The file for which to get the display name.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |