net.aerith.misao.io.filechooser
Class TiffFilter

java.lang.Object
  |
  +--javax.swing.filechooser.FileFilter
        |
        +--net.aerith.misao.io.filechooser.ExtensionBasedFileFilter
              |
              +--net.aerith.misao.io.filechooser.ImageFileFilter
                    |
                    +--net.aerith.misao.io.filechooser.JimiFileFilter
                          |
                          +--net.aerith.misao.io.filechooser.TiffFilter

public class TiffFilter
extends JimiFileFilter

The TiffFilter represents a FileFilter to select TIFF files.


Fields inherited from class net.aerith.misao.io.filechooser.ExtensionBasedFileFilter
accept_compressed
 
Constructor Summary
TiffFilter()
          Constructs a TiffFilter.
 
Method Summary
 java.lang.String[] getAcceptableExtensions()
          Returns the acceptable extensions.
 java.lang.String getDescription()
          Returns the description of this filter.
 Format getFormat(java.io.File file)
          Gets the proper format for the image type.
 java.lang.String getFormatID()
          Gets the format ID recorded in an XML document.
 java.lang.String getTypicalExtension()
          Gets the typical file extension.
 
Methods inherited from class net.aerith.misao.io.filechooser.JimiFileFilter
getBitmapJimiFilters, getSupportedJimiFilters
 
Methods inherited from class net.aerith.misao.io.filechooser.ImageFileFilter
getBitmapFilters, getSupportedFilters
 
Methods inherited from class net.aerith.misao.io.filechooser.ExtensionBasedFileFilter
accept, acceptCompressed, getTruncatedFilename
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

TiffFilter

public TiffFilter()
Constructs a TiffFilter.
Method Detail

getAcceptableExtensions

public java.lang.String[] getAcceptableExtensions()
Returns the acceptable extensions.
Overrides:
getAcceptableExtensions in class ImageFileFilter
Returns:
the acceptable extensions.

getDescription

public java.lang.String getDescription()
Returns the description of this filter.
Overrides:
getDescription in class javax.swing.filechooser.FileFilter
Returns:
the description of this filter.

getFormat

public Format getFormat(java.io.File file)
                 throws java.net.MalformedURLException,
                        UnsupportedFileTypeException
Gets the proper format for the image type.
Overrides:
getFormat in class ImageFileFilter
Returns:
the image file format.
Throws:
java.net.MalformedURLException - if an unknown protocol is specified.
UnsupportedFileTypeException - if the file type is unsupported.

getFormatID

public java.lang.String getFormatID()
Gets the format ID recorded in an XML document.
Overrides:
getFormatID in class ImageFileFilter
Returns:
the format ID recorded in an XML document.

getTypicalExtension

public java.lang.String getTypicalExtension()
Gets the typical file extension.
Overrides:
getTypicalExtension in class ImageFileFilter
Returns:
the typical file extension.