|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.table.StreamStarTableWriter
uk.ac.starlink.fits.AbstractFitsTableWriter
uk.ac.starlink.fits.HduFitsTableWriter
TableWriter which writes a single extension BINTABLE HDU containing the
table. It differs from FitsTableWriter
in that it does not
write a primary HDU, so the result will only form a legal FITS file
if it is appended to an existing FITS file which already has a primary
HDU, and possibly other extension HDUs already.
This class can be used to generate a multi-extension FITS file.
Constructor Summary | |
HduFitsTableWriter()
Constructor. |
Method Summary | |
protected FitsTableSerializer |
createSerializer(StarTable table)
Provides a suitable serializer for a given table. |
boolean |
looksLikeFile(String location)
Returns false. |
void |
writePrimaryHDU(StarTable startab,
FitsTableSerializer fitser,
DataOutput out)
Does nothing. |
Methods inherited from class uk.ac.starlink.fits.AbstractFitsTableWriter |
addMetadata, getCurrentDate, getFormatName, getMimeType, setFormatName, writeStarTable, writeTableHDU |
Methods inherited from class uk.ac.starlink.table.StreamStarTableWriter |
writeStarTable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HduFitsTableWriter()
Method Detail |
public void writePrimaryHDU(StarTable startab, FitsTableSerializer fitser, DataOutput out) throws IOException
writePrimaryHDU
in class AbstractFitsTableWriter
startab
- the table which will be written into the next HDUfitser
- fits serializer initialised from table
out
- destination stream
IOException
public boolean looksLikeFile(String location)
location
- the location name (probably filename)
protected FitsTableSerializer createSerializer(StarTable table) throws IOException
AbstractFitsTableWriter
createSerializer
in class AbstractFitsTableWriter
table
- table to serialize
IOException
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |