UnifiedFitsTableWriter instead@Deprecated public class ColFitsPlusTableWriter extends VOTableFitsTableWriter implements DocumentedIOHandler
StarTable in a column-oriented
FITS binary table format.
The table data is stored in a BINTABLE extension which has a single row;
each cell in this row contains the data for an entire column of the
represented table. The primary HDU is a byte array containing a
VOTable representation of the table metadata, as for
FitsPlusTableWriter.
This rather specialised format may provide good performance for certain operations on very large, especially very wide, tables. Although it is FITS and can therefore be used in principle for data interchange, in practice most non-STIL processors are unlikely to be able to do much useful with it.
| Constructor and Description |
|---|
ColFitsPlusTableWriter()
Deprecated.
Default constructor.
|
ColFitsPlusTableWriter(java.lang.String name,
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 |
docIncludesExample()
Deprecated.
Indicates whether the serialization of some (short) example table
should be added to the user documentation for this handler.
|
protected CardImage[] |
getCustomPrimaryHeaderCards()
Deprecated.
Returns implementation-specific header cards to be added
to the Primary HDU of FITS files written by this writer.
|
java.lang.String[] |
getExtensions()
Deprecated.
Returns the list of filename extensions recognised by this handler.
|
java.lang.String |
getXmlDescription()
Deprecated.
Returns user-directed documentation in XML format.
|
protected boolean |
isMagic(int icard,
java.lang.String key,
java.lang.Object value)
Deprecated.
Tests a header card to see if it looks like part of the magic number
for the format written by this handler.
|
boolean |
looksLikeFile(java.lang.String location)
Deprecated.
Indicates whether the destination is of a familiar form for this
kind of writer.
|
isMagic, setAllowSignedByte, setVotableVersion, writeStarTablesgetAllowSignedByte, getAllowZeroLengthString, getConfig, getCurrentDate, getFormatName, getMetadataCards, getMimeType, getPadCharacter, getWide, getWriteDate, setAllowZeroLengthString, setFormatName, setPadCharacter, setWide, setWriteDate, writePrimaryHDU, writeStarTable, writeStarTables, writeTableHDUwriteStarTable, writeStarTableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmatchesExtension, readText, toLinkwriteStarTablepublic ColFitsPlusTableWriter()
@Deprecated
public ColFitsPlusTableWriter(java.lang.String name,
WideFits wide)
public java.lang.String[] getExtensions()
DocumentedIOHandlergetExtensions in interface DocumentedIOHandlerpublic boolean looksLikeFile(java.lang.String location)
StarTableWritertrue for values of location which look like
the normal form for their output format, for instance one with
the usual file extension.looksLikeFile in interface StarTableWriterlocation - the location name (probably filename)true iff it looks like a file this writer would
normally writepublic boolean docIncludesExample()
DocumentedIOHandlerDocumented.getXmlDescription()
method already includes some example output, should return false.docIncludesExample in interface DocumentedIOHandlerpublic java.lang.String getXmlDescription()
DocumentedThe output should be a sequence of one or more <P> elements, using XHTML-like XML. Since rendering may be done in a number of contexts however, use of the full range of XHTML elements is discouraged. Where possible, the content should stick to simple markup such as the elements P, A, UL, OL, LI, DL, DT, DD EM, STRONG, I, B, CODE, TT, PRE.
getXmlDescription in interface Documentedprotected CardImage[] getCustomPrimaryHeaderCards()
VOTableFitsTableWritergetCustomPrimaryHeaderCards in class VOTableFitsTableWriterprotected boolean isMagic(int icard,
java.lang.String key,
java.lang.Object value)
VOTableFitsTableWriterVOTableFitsTableWriter implementation tests that
the first four cards read:
SIMPLE = T
BITPIX = 8
NAXIS = 1
NAXIS1 = ???
Subclasses may override this to add tests for later cards
(as provided by VOTableFitsTableWriter.getCustomPrimaryHeaderCards()).isMagic in class VOTableFitsTableWritericard - 0-based card indexkey - card namevalue - card valueprotected FitsTableSerializer createSerializer(StarTable table) throws java.io.IOException
AbstractFitsTableWritercreateSerializer in class AbstractFitsTableWritertable - table to serializejava.io.IOException - if the table can't be written