Class TextualPanel.FileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
jwat.trafficAnalysis.panels.TextualPanel.FileFilter
- Enclosing class:
TextualPanel
Inner class used to create simple file filters with only extension check
- Author:
- Marco Rosini Date: 829-07-2006 Time: 11.43.34
-
Constructor Summary
ConstructorsConstructorDescriptionFileFilter(String extension, String description) Creates a new filefilter with specified extension and description -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether the given file is accepted by this filter.The description of this filterGets extension of this filter
-
Constructor Details
-
FileFilter
-
-
Method Details
-
accept
Whether the given file is accepted by this filter.- Specified by:
acceptin classFileFilter
-
getDescription
The description of this filter- Specified by:
getDescriptionin classFileFilter- See Also:
-
getExtension
-