public class XMLFileFilter
extends javax.swing.filechooser.FileFilter
Constructor and Description |
---|
XMLFileFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.io.File file)
Accept all directories and all XML files.
|
java.lang.String |
getDescription()
Gets the description of the filter.
|
public boolean accept(@NotNull java.io.File file)
accept
in class javax.swing.filechooser.FileFilter
file
- The file to examine.@NotNull public java.lang.String getDescription()
getDescription
in class javax.swing.filechooser.FileFilter