Class 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  
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • description

        private final java.lang.String description
      • knownSuffixes

        private java.util.Map<java.lang.String,​java.lang.Boolean> knownSuffixes
    • Constructor Detail

      • WriterFileSuffixFilter

        public WriterFileSuffixFilter()
      • WriterFileSuffixFilter

        public WriterFileSuffixFilter​(java.lang.String pDescription)
    • Method Detail

      • accept

        public boolean accept​(java.io.File pFile)
        Specified by:
        accept in interface java.io.FileFilter
        Specified by:
        accept in class javax.swing.filechooser.FileFilter
      • hasWriterForSuffix

        private boolean hasWriterForSuffix​(java.lang.String pSuffix)
      • getDescription

        public java.lang.String getDescription()
        Specified by:
        getDescription in class javax.swing.filechooser.FileFilter