Package jaxx.runtime
Class FileChooserUtil.PatternChooserFilter
java.lang.Object
javax.swing.filechooser.FileFilter
jaxx.runtime.FileChooserUtil.PatternChooserFilter
- Enclosing class:
- FileChooserUtil
public static class FileChooserUtil.PatternChooserFilter
extends javax.swing.filechooser.FileFilter
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringdescriptionprotected java.lang.Stringpattern -
Constructor Summary
Constructors Constructor Description PatternChooserFilter(java.lang.String pattern, java.lang.String description) -
Method Summary
Modifier and Type Method Description booleanaccept(java.io.File f)java.lang.StringgetDescription()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
pattern
protected java.lang.String pattern -
description
protected java.lang.String description
-
-
Constructor Details
-
PatternChooserFilter
public PatternChooserFilter(java.lang.String pattern, java.lang.String description)
-
-
Method Details
-
accept
public boolean accept(java.io.File f)- Specified by:
acceptin classjavax.swing.filechooser.FileFilter
-
getDescription
public java.lang.String getDescription()- Specified by:
getDescriptionin classjavax.swing.filechooser.FileFilter
-