net.aerith.misao.io.filechooser
Class UnsignedFitsFilter

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

public class UnsignedFitsFilter
extends FitsFilter

The UnsignedFitsFilter represents a FileFilter to select unsigned 16-bit FITS files.


Fields inherited from class net.aerith.misao.io.filechooser.ExtensionBasedFileFilter
accept_compressed
 
Constructor Summary
UnsignedFitsFilter()
          Constructs an UnsignedFitsFilter.
 
Method Summary
 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.
 
Methods inherited from class net.aerith.misao.io.filechooser.FitsFilter
getAcceptableExtensions, getTypicalExtension
 
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

UnsignedFitsFilter

public UnsignedFitsFilter()
Constructs an UnsignedFitsFilter.
Method Detail

getDescription

public java.lang.String getDescription()
Returns the description of this filter.
Overrides:
getDescription in class FitsFilter
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 FitsFilter
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 FitsFilter
Returns:
the format ID recorded in an XML document.