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.FileFilter
WriterFileSuffixFilter- 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.String
description
private 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 boolean
accept(java.io.File pFile)
java.lang.String
getDescription()
private boolean
hasWriterForSuffix(java.lang.String pSuffix)
-
-
-
Method Detail
-
accept
public boolean accept(java.io.File pFile)
- Specified by:
accept
in interfacejava.io.FileFilter
- Specified by:
accept
in classjavax.swing.filechooser.FileFilter
-
hasWriterForSuffix
private boolean hasWriterForSuffix(java.lang.String pSuffix)
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in classjavax.swing.filechooser.FileFilter
-
-