|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--javax.swing.filechooser.FileView
|
+--org.thdl.savant.SavantFileView
The SavantFileView "sees through" a *.savant file and
returns the title associated with it. A *.savant file
is a properties file like the following:
#Tue May 14 16:07:15 EDT 2002 TRANSCRIPT=MST4.xml PROJECT=THDL MEDIA=MST4.mpg TITLE=MST Chapter 4 (video)
| Constructor Summary | |
SavantFileView()
|
|
| Method Summary | |
String |
getDescription(File f)
Returns null always, which lets the default look-and-feel's FileView take over. |
static String |
getDotSavant()
When opening a file, this is the only extension Savant cares about. |
String |
getName(File f)
This loads *.savant files as properties files and
returns an associated TITLE attribute. |
String |
getTypeDescription(File f)
Returns null always, which lets the default look-and-feel's FileView take over. |
Boolean |
isTraversable(File f)
Returns null always, which lets the default look-and-feel's FileView take over. |
| Methods inherited from class javax.swing.filechooser.FileView |
getIcon |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SavantFileView()
| Method Detail |
public static final String getDotSavant()
public String getName(File f)
*.savant files as properties files and
returns an associated TITLE attribute. For any other type of
file, or for a properties file that does not specify a
non-empty-string TITLE attribute, this returns null.
getName in class FileViewpublic String getDescription(File f)
getDescription in class FileViewpublic Boolean isTraversable(File f)
isTraversable in class FileViewpublic String getTypeDescription(File f)
getTypeDescription in class FileView
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||