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.
Constructor Summary |
TiffFilter()
Constructs a TiffFilter . |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
TiffFilter
public TiffFilter()
- Constructs a
TiffFilter
.
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.