public class FitsTableWriter extends AbstractFitsTableWriter
Output is currently to fixed-width columns only. For StarTable columns of variable size, a first pass is made through the table data to determine the largest size they assume, and the size in the output table is set to the largest of these. Excess space is padded with some sort of blank value (NaN for floating point values, spaces for strings, zero-like values otherwise).
Constructor and Description |
---|
FitsTableWriter() |
Modifier and Type | Method and Description |
---|---|
protected FitsTableSerializer |
createSerializer(uk.ac.starlink.table.StarTable table)
Provides a suitable serializer for a given table.
|
boolean |
looksLikeFile(java.lang.String location)
Returns true if location ends with something like ".fit"
or ".fits" or ".fts".
|
addMetadata, getCurrentDate, getFormatName, getMimeType, setFormatName, writePrimaryHDU, writeStarTable, writeStarTables, writeStarTables, writeTableHDU
public boolean looksLikeFile(java.lang.String location)
location
- filenameprotected FitsTableSerializer createSerializer(uk.ac.starlink.table.StarTable table) throws java.io.IOException
AbstractFitsTableWriter
createSerializer
in class AbstractFitsTableWriter
table
- table to serializejava.io.IOException
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.