|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.ac.starlink.fits.FitsTableSerializer
Class which knows how to do the various bits of serializing a StarTable to FITS BINTABLE format. This does the hard work for FitsTableWriter.
Constructor Summary | |
FitsTableSerializer(StarTable table)
Constructs a serializer which will be able to write a given StarTable. |
Method Summary | |
int[] |
getDimensions(int icol)
Returns the dimensions of the items which will be output for a given column. |
char |
getFormatChar(int icol)
Returns the FITS TFORM letter which describes the type of data output for a given column. |
void |
writeData(DataOutput strm)
Writes the data part of the BINTABLE extension HDU which holds the table data. |
void |
writeHeader(DataOutput strm)
Writes the header block for the BINTABLE extension HDU which holds the table data. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FitsTableSerializer(StarTable table) throws IOException
table
- the table to be writtenMethod Detail |
public void writeHeader(DataOutput strm) throws IOException
strm
- destination stream
IOException
public void writeData(DataOutput strm) throws IOException
strm
- destination stream
IOException
public char getFormatChar(int icol)
icol
- column to query
public int[] getDimensions(int icol)
icol
- column to query
|
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 |