public class HduFitsTableWriter extends AbstractFitsTableWriter
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 and Description |
---|
HduFitsTableWriter()
Constructor.
|
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 false.
|
void |
writePrimaryHDU(java.io.DataOutput out)
Does nothing.
|
addMetadata, getCurrentDate, getFormatName, getMimeType, setFormatName, writeStarTable, writeStarTables, writeStarTables, writeTableHDU
public void writePrimaryHDU(java.io.DataOutput out)
writePrimaryHDU
in class AbstractFitsTableWriter
out
- destination streampublic boolean looksLikeFile(java.lang.String location)
protected 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.