public interface FitsTableSerializer
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBadValue(int icol)
Returns the bad value (text of the TNULLnn card), if any, used
for a given column.
|
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.
|
CardImage[] |
getHeader()
Returns header cards suitable for the HDU which will contain the table.
|
long |
getRowCount()
Returns the number of rows which will be output.
|
void |
writeData(java.io.DataOutput out)
Writes the HDU data for the table to an output stream.
|
CardImage[] getHeader()
void writeData(java.io.DataOutput out) throws java.io.IOException
out
- destination streamjava.io.IOException
long getRowCount()
int[] getDimensions(int icol)
null
only if that column
is not being output. Otherwise it will be a zero-element array
for a scalar, 1-element array for a vector, etc.icol
- column to queryicol
or null
for a column being skippedchar getFormatChar(int icol)
(char)0
will be
returned.icol
- column to queryicol
,
or 0 for a column being skippedjava.lang.String getBadValue(int icol)
icol
- column to query