|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.filechooser.FileFilter
antsnest.io.XMLFileFilter
public class XMLFileFilter
A file filter that only accepts XML files
| Constructor Summary | |
|---|---|
XMLFileFilter()
Constructs a new filter |
|
| Method Summary | |
|---|---|
boolean |
accept(File file)
Whether a file is an XML file |
String |
getDescription()
A description of this filter |
| 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(File file)
accept in class FileFilterfile - the file to check
public String getDescription()
getDescription in class FileFilter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||