|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.filechooser.FileFilter
core.filter.XMLFileFilter
public class XMLFileFilter
This class provides a file filter for filtering all but directories and the iTunes XML file. The XML file name is defined in the iTunesXML file class. This filter is used when the user is asked to locate the iTunes XML file if it was not found automatically.
Constructor Summary | |
---|---|
XMLFileFilter()
Creates a new XML File Filter object. |
Method Summary | |
---|---|
boolean |
accept(java.io.File file)
Determines whether or not the given file is either a directory of the iTunes XML file. |
java.lang.String |
getDescription()
Returns the description of the iTunes XML file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLFileFilter()
Method Detail |
---|
public boolean accept(java.io.File file)
accept
in class javax.swing.filechooser.FileFilter
file
- the file to check if it is a directory or the iTunes XML file.
public java.lang.String getDescription()
getDescription
in class javax.swing.filechooser.FileFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |