nom.tam.fits
Class AsciiTableHDU
java.lang.Object
nom.tam.fits.BasicHDU
nom.tam.fits.ExtensionHDU
nom.tam.fits.TableHDU
nom.tam.fits.AsciiTableHDU
public class AsciiTableHDU
- extends TableHDU
FITS ASCII table header/data unit
ASCII tables are not currently suppoted.
Method Summary |
void |
info()
Print out some information about this HDU. |
boolean |
isHeader()
Check that this HDU has a valid header. |
static boolean |
isHeader(Header header)
Check that this is a valid ascii table header. |
void |
readData(BufferedDataInputStream stream)
Skip the ASCII table and throw an exception. |
Methods inherited from class nom.tam.fits.BasicHDU |
getAuthor, getAxes, getBitPix, getBlankValue, getBScale, getBUnit, getBZero, getCreationDate, getData, getEpoch, getEquinox, getGroupCount, getHeader, getInstrument, getMaximumValue, getMinimumValue, getObject, getObservationDate, getObserver, getOrigin, getParameterCount, getReference, getSize, getTelescope, getTrimmedString, skipData, skipData, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsciiTableHDU
public AsciiTableHDU(Header header)
throws FitsException
- Create an ascii table header/data unit.
- Parameters:
header
- the template specifying the ascii table.
- Throws:
FitsException
- if there was a problem with the header.
isHeader
public static boolean isHeader(Header header)
- Check that this is a valid ascii table header.
- Parameters:
header
- to validate.
- Returns:
true
if this is an ascii table header.
isHeader
public boolean isHeader()
- Check that this HDU has a valid header.
- Returns:
true
if this HDU has a valid header.
readData
public void readData(BufferedDataInputStream stream)
throws FitsException
- Skip the ASCII table and throw an exception.
- Overrides:
readData
in class BasicHDU
- Parameters:
stream
- the stream from which the data is read.
- Throws:
FitsException
- because ASCII tables are not yet supported.
info
public void info()
- Description copied from class:
BasicHDU
- Print out some information about this HDU.
- Specified by:
info
in class BasicHDU