|
JGraphpad Pro
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.swing.filechooser.FileFilter
com.jgraph.pad.util.JGraphpadFileFilter.EditorFileFilter
Utility file filter to accept editor files, namely .xml and .xml.gz extensions.
ImageIO.getReaderFormatNames()| Field Summary | |
protected String |
desc
Description of the File format |
| Constructor Summary | |
JGraphpadFileFilter.EditorFileFilter(String description)
Constructs a new editor file filter using the specified description. |
|
| Method Summary | |
boolean |
accept(File file)
Returns true if the file is a directory or has a .xml or .xml.gz extension. |
String |
getDescription()
Returns the description. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected String desc
| Constructor Detail |
public JGraphpadFileFilter.EditorFileFilter(String description)
description - The description to use for the filter.| Method Detail |
public boolean accept(File file)
public String getDescription()
|
JGraphpad Pro
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||