public class GFileFilter extends javax.swing.filechooser.FileFilter implements ExtendedFileFilter
| Modifier and Type | Class and Description |
|---|---|
static class |
GFileFilter.FileType |
| Modifier and Type | Field and Description |
|---|---|
static GFileFilter |
ACCDB |
static GFileFilter |
CSV |
static GFileFilter |
DBF |
static GFileFilter |
HTML |
static GFileFilter |
IFE |
static GFileFilter |
JAVACLASS |
static GFileFilter |
MDB |
static GFileFilter |
TXT |
static GFileFilter |
XML |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(java.io.File file) |
java.lang.String |
getDescription() |
java.lang.String |
getExtension()
This method returns the extension of the file.
|
GFileFilter.FileType |
getFileType()
This method returns the file type associated with the file filter.
|
static GFileFilter.FileType |
getFileType(java.lang.String filename)
This static method returns the file type of a filename string
|
public static final GFileFilter DBF
public static final GFileFilter CSV
public static final GFileFilter IFE
public static final GFileFilter MDB
public static final GFileFilter ACCDB
public static final GFileFilter XML
public static final GFileFilter JAVACLASS
public static final GFileFilter HTML
public static final GFileFilter TXT
public boolean accept(java.io.File file)
accept in class javax.swing.filechooser.FileFilterpublic java.lang.String getDescription()
getDescription in class javax.swing.filechooser.FileFilterpublic java.lang.String getExtension()
ExtendedFileFiltergetExtension in interface ExtendedFileFilterpublic GFileFilter.FileType getFileType()
public static GFileFilter.FileType getFileType(java.lang.String filename)
filename - a String that contains the filename