Package com.twelvemonkeys.imageio.util
Class WriterFileSuffixFilter
- java.lang.Object
-
- javax.swing.filechooser.FileFilter
-
- com.twelvemonkeys.imageio.util.WriterFileSuffixFilter
-
- All Implemented Interfaces:
java.io.FileFilter
public final class WriterFileSuffixFilter extends javax.swing.filechooser.FileFilter implements java.io.FileFilterWriterFileSuffixFilter- Version:
- $Id: WriterFileSuffixFilter.java,v 1.0 11.okt.2006 20:05:36 haku Exp$
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringdescriptionprivate java.util.Map<java.lang.String,java.lang.Boolean>knownSuffixes
-
Constructor Summary
Constructors Constructor Description WriterFileSuffixFilter()WriterFileSuffixFilter(java.lang.String pDescription)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(java.io.File pFile)java.lang.StringgetDescription()private booleanhasWriterForSuffix(java.lang.String pSuffix)
-
-
-
Method Detail
-
accept
public boolean accept(java.io.File pFile)
- Specified by:
acceptin interfacejava.io.FileFilter- Specified by:
acceptin classjavax.swing.filechooser.FileFilter
-
hasWriterForSuffix
private boolean hasWriterForSuffix(java.lang.String pSuffix)
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin classjavax.swing.filechooser.FileFilter
-
-