|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjavax.swing.filechooser.FileFilter
com.huguesjohnson.fileFilter.SessionFileFilter
public class SessionFileFilter
SessionFileFilter Filter to only accept session files in a JFileChooser
| Field Summary | |
|---|---|
static java.lang.String |
EXTENSION
|
| Constructor Summary | |
|---|---|
SessionFileFilter()
Creates a new instance of SessionFileFilter |
|
| Method Summary | |
|---|---|
boolean |
accept(java.io.File file)
accept tests if a file fits the filter defined in the constructor. |
java.lang.String |
getDescription()
getDescription returns the description of file accepted by the filter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String EXTENSION
| Constructor Detail |
|---|
public SessionFileFilter()
| Method Detail |
|---|
public boolean accept(java.io.File file)
accept in class javax.swing.filechooser.FileFilterfile - file to check
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 | |||||||