uk.ac.starlink.votable.UnifiedFitsTableWriter
instead@Deprecated 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()
Deprecated.
Default constructor.
|
HduFitsTableWriter(java.lang.String name,
boolean allowSignedByte,
WideFits wide)
Deprecated.
allows some configuration options but not others;
use no-arg constructor and configuration methods instead
|
Modifier and Type | Method and Description |
---|---|
protected FitsTableSerializer |
createSerializer(StarTable table)
Deprecated.
Provides a suitable serializer for a given table.
|
boolean |
looksLikeFile(java.lang.String location)
Deprecated.
Returns false.
|
void |
writePrimaryHDU(java.io.OutputStream out)
Deprecated.
Does nothing.
|
getAllowSignedByte, getAllowZeroLengthString, getConfig, getCurrentDate, getFormatName, getMetadataCards, getMimeType, getPadCharacter, getWide, getWriteDate, setAllowSignedByte, setAllowZeroLengthString, setFormatName, setPadCharacter, setWide, setWriteDate, writeStarTable, writeStarTables, writeStarTables, writeTableHDU
writeStarTable, writeStarTable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
writeStarTable
public HduFitsTableWriter()
@Deprecated public HduFitsTableWriter(java.lang.String name, boolean allowSignedByte, WideFits wide)
public void writePrimaryHDU(java.io.OutputStream out)
writePrimaryHDU
in class AbstractFitsTableWriter
out
- destination streampublic boolean looksLikeFile(java.lang.String location)
location
- the location name (probably filename)true
iff it looks like a file this writer would
normally writeprotected FitsTableSerializer createSerializer(StarTable table) throws java.io.IOException
AbstractFitsTableWriter
createSerializer
in class AbstractFitsTableWriter
table
- table to serializejava.io.IOException
- if the table can't be written