- canImport(DataFlavor) - Method in class uk.ac.starlink.fits.ColFitsTableBuilder
-
- canImport(DataFlavor) - Method in class uk.ac.starlink.fits.FitsTableBuilder
-
Returns true for a flavor with the MIME type "application/fits".
- checkColumnCount(WideFits, int) - Static method in class uk.ac.starlink.fits.FitsConstants
-
Checks that a table with the given number of columns can be written.
- close() - Method in interface uk.ac.starlink.fits.BasicInput
-
Releases resources belonging to this object.
- close() - Method in class uk.ac.starlink.fits.BasicInputThreadLocal
-
- close() - Method in class uk.ac.starlink.fits.BufferedRandomInput
-
- close() - Method in class uk.ac.starlink.fits.ColFitsStarTable
-
- close() - Method in class uk.ac.starlink.fits.MappedFile
-
- close() - Method in class uk.ac.starlink.fits.MultiMappedFile
-
- close() - Method in class uk.ac.starlink.fits.SimpleMappedInput
-
- ColFitsStarTable - Class in uk.ac.starlink.fits
-
StarTable based on a single-row FITS BINTABLE which contains the
data for an entire column in each cell of the table.
- ColFitsStarTable(DataSource, Header, long, boolean, WideFits) - Constructor for class uk.ac.starlink.fits.ColFitsStarTable
-
Constructor.
- ColFitsTableBuilder - Class in uk.ac.starlink.fits
-
Implementation of the TableBuilder
interface which reads
tables stored in column-oriented FITS binary table format.
- ColFitsTableBuilder() - Constructor for class uk.ac.starlink.fits.ColFitsTableBuilder
-
Default constructor.
- ColFitsTableBuilder(WideFits) - Constructor for class uk.ac.starlink.fits.ColFitsTableBuilder
-
Constructor.
- ColFitsTableSerializer - Class in uk.ac.starlink.fits
-
Object which can serialize a StarTable to a data stream as a one-row FITS
file in which each element contains an entire column of the table.
- ColFitsTableSerializer(StarTable, WideFits) - Constructor for class uk.ac.starlink.fits.ColFitsTableSerializer
-
Constructor.
- ColFitsTableWriter - Class in uk.ac.starlink.fits
-
Handles writing of a StarTable
in a column-oriented
FITS binary table format.
- ColFitsTableWriter() - Constructor for class uk.ac.starlink.fits.ColFitsTableWriter
-
Default constructor.
- ColFitsTableWriter(String, WideFits) - Constructor for class uk.ac.starlink.fits.ColFitsTableWriter
-
Custom constructor.
- configureHierarch() - Static method in class uk.ac.starlink.fits.FitsConstants
-
Ensures that use of the HIERARCH convention when dealing with
FITS headers is set to the state expected for STIL operation.
- containsKey(String) - Method in class uk.ac.starlink.fits.HeaderCards
-
Indicates whether the header collection contains a card with the
given keyword.
- containsKey(HeaderCards, String) - Method in class uk.ac.starlink.fits.BintableColumnHeader
-
Indicates whether a given header card is present
for this object's column.
- createAlphaWideFits(int) - Static method in class uk.ac.starlink.fits.AbstractWideFits
-
Returns a WideFits instance that uses normal TFORMaaa headers
where aaa is a 3-digit base-26 integer (each digit is [A-Z]).
- createExtendedHeader(int, int) - Method in interface uk.ac.starlink.fits.WideFits
-
Creates a BintableColumnHeader instance suitable for use with
the extended column convention defined by this class.
- createFactory(DataSource, long, long) - Static method in class uk.ac.starlink.fits.InputFactory
-
Constructs an instance of this class to read a given data source.
- createFileFactory(File, long, long) - Static method in class uk.ac.starlink.fits.InputFactory
-
Constructs an instance of this class to read a given uncompressed file.
- createHeaderCard(String) - Static method in class uk.ac.starlink.fits.FitsConstants
-
Create a HeaderCard from a FITS card image.
- createHierarchWideFits(int) - Static method in class uk.ac.starlink.fits.AbstractWideFits
-
Returns a WideFits instance that uses headers of the form
HIERARCH XT TFORMnnnnn, using the ESO HIERARCH convention.
- createInput(boolean) - Method in class uk.ac.starlink.fits.InputFactory
-
Returns a BasicInput instance to read this object's byte stream.
- createInput(FileChannel, long, long, String, boolean) - Static method in class uk.ac.starlink.fits.BlockMappedInput
-
Constructs an instance that does or does not support caching.
- createInput(FileChannel, long, long, String, int, long) - Static method in class uk.ac.starlink.fits.BlockMappedInput
-
Constructs an instance with explicit configuration.
- createSequentialFactory(DataSource, long, long) - Static method in class uk.ac.starlink.fits.InputFactory
-
Constructs an instance of this class to read a given data source
viewed as a stream, not a file.
- createSequentialInput(DataInput) - Static method in class uk.ac.starlink.fits.InputFactory
-
Returns a non-random-access BasicInput based on a supplied input stream.
- createSerializer(StarTable) - Method in class uk.ac.starlink.fits.AbstractFitsTableWriter
-
Provides a suitable serializer for a given table.
- createSerializer(StarTable) - Method in class uk.ac.starlink.fits.ColFitsTableWriter
-
- createSerializer(StarTable) - Method in class uk.ac.starlink.fits.FitsTableWriter
-
- createSerializer(StarTable) - Method in class uk.ac.starlink.fits.HduFitsTableWriter
-
- createSerializer(StarTable) - Method in class uk.ac.starlink.fits.VariableFitsTableWriter
-
- createStandardHeader(int) - Static method in class uk.ac.starlink.fits.BintableColumnHeader
-
Returns an instance of this class for use with standard FITS BINTABLE
headers.
- createTable(Header, InputFactory, WideFits) - Static method in class uk.ac.starlink.fits.BintableStarTable
-
Returns an instance of this class given a data access instance.
- createUnsortedHeader() - Static method in class uk.ac.starlink.fits.FitsConstants
-
Creates a Header instance which does not perform any unsolicited
reordering of the header cards.
- get() - Method in class uk.ac.starlink.fits.AbstractArrayDataIO
-
Reads one byte from the current position.
- get() - Method in class uk.ac.starlink.fits.MappedFile
-
- get() - Method in class uk.ac.starlink.fits.MultiMappedFile
-
- get(byte[], int, int) - Method in class uk.ac.starlink.fits.AbstractArrayDataIO
-
Reads bytes into a buffer from the current position.
- get(byte[], int, int) - Method in class uk.ac.starlink.fits.MappedFile
-
- get(byte[], int, int) - Method in class uk.ac.starlink.fits.MultiMappedFile
-
- getBadValue(int) - Method in class uk.ac.starlink.fits.ColFitsTableSerializer
-
- getBadValue(int) - Method in interface uk.ac.starlink.fits.FitsTableSerializer
-
Returns the bad value (text of the TNULLnn card), if any, used
for a given column.
- getBadValue(int) - Method in class uk.ac.starlink.fits.StandardFitsTableSerializer
-
- getBlockCount() - Method in class uk.ac.starlink.fits.BlockMappedInput
-
Returns the number of mapped blocks used.
- getCell(long, int) - Method in class uk.ac.starlink.fits.ColFitsStarTable
-
- getCell(long, int) - Method in class uk.ac.starlink.fits.FitsStarTable
-
- getColumnAuxDataInfos() - Method in class uk.ac.starlink.fits.BintableStarTable
-
- getColumnAuxDataInfos() - Method in class uk.ac.starlink.fits.FitsStarTable
-
- getColumnCount() - Method in class uk.ac.starlink.fits.BintableStarTable
-
- getColumnCount() - Method in class uk.ac.starlink.fits.ColFitsStarTable
-
- getColumnCount() - Method in class uk.ac.starlink.fits.FitsStarTable
-
- getColumnInfo(int) - Method in class uk.ac.starlink.fits.BintableStarTable
-
- getColumnInfo(int) - Method in class uk.ac.starlink.fits.ColFitsStarTable
-
- getColumnInfo(int) - Method in class uk.ac.starlink.fits.FitsStarTable
-
- getColumnOffsets() - Method in class uk.ac.starlink.fits.BintableStarTable
-
Returns the array of byte offsets from the start of the row at
which each column starts.
- getContainerColumnIndex() - Method in class uk.ac.starlink.fits.AbstractWideFits
-
- getContainerColumnIndex() - Method in interface uk.ac.starlink.fits.WideFits
-
Returns the index of the column used (if any) by this specification
for extended column data.
- getCurrentDate() - Static method in class uk.ac.starlink.fits.AbstractFitsTableWriter
-
Returns an ISO-8601 data string representing the time at which this
method is called.
- getDataSize(Header) - Static method in class uk.ac.starlink.fits.FitsConstants
-
Utility function to find the number of bytes in the data segment
of an HDU.
- getDimensions(int) - Method in class uk.ac.starlink.fits.ColFitsTableSerializer
-
- getDimensions(int) - Method in interface uk.ac.starlink.fits.FitsTableSerializer
-
Returns the dimensions of the items which will be output for a
given column.
- getDimensions(int) - Method in class uk.ac.starlink.fits.StandardFitsTableSerializer
-
- getDoubleValue(String) - Method in class uk.ac.starlink.fits.HeaderCards
-
Returns the double value for a card with a given key.
- getDoubleValue(HeaderCards, String) - Method in class uk.ac.starlink.fits.BintableColumnHeader
-
Returns the double precision value of a header card
for this object's column.
- getExtColumnMax() - Method in class uk.ac.starlink.fits.AbstractWideFits
-
- getExtColumnMax() - Method in interface uk.ac.starlink.fits.WideFits
-
Maximum extended number of columns that can be represented by
this convention.
- getExtendedColumnCount(HeaderCards, int) - Method in class uk.ac.starlink.fits.AbstractWideFits
-
- getExtendedColumnCount(HeaderCards, int) - Method in interface uk.ac.starlink.fits.WideFits
-
Returns the total number of columns, including extended ones,
described by a FITS header according to this convention.
- getFilePointer() - Method in class uk.ac.starlink.fits.MappedFile
-
- getFilePointer() - Method in class uk.ac.starlink.fits.MultiMappedFile
-
- getFormatChar(int) - Method in class uk.ac.starlink.fits.ColFitsTableSerializer
-
- getFormatChar(int) - Method in interface uk.ac.starlink.fits.FitsTableSerializer
-
Returns the FITS TFORM letter which describes the type of data
output for a given column.
- getFormatChar(int) - Method in class uk.ac.starlink.fits.StandardFitsTableSerializer
-
- getFormatName() - Method in class uk.ac.starlink.fits.AbstractFitsTableWriter
-
- getFormatName() - Method in class uk.ac.starlink.fits.ColFitsTableBuilder
-
- getFormatName() - Method in class uk.ac.starlink.fits.FitsTableBuilder
-
Returns "FITS".
- getHeader() - Method in class uk.ac.starlink.fits.ColFitsTableSerializer
-
- getHeader() - Method in interface uk.ac.starlink.fits.FitsTableSerializer
-
Returns a header suitable for the HDU which will contain the table.
- getHeader() - Method in class uk.ac.starlink.fits.StandardFitsTableSerializer
-
- getHeader() - Method in class uk.ac.starlink.fits.VariableFitsTableSerializer
-
- getInputStreamStart(DataSource) - Static method in class uk.ac.starlink.fits.FitsConstants
-
Returns an input stream which can be used with the various FITS
classes based on a given DataSource object, positioned at the
start of the stream.
- getInstance() - Static method in class uk.ac.starlink.fits.FitsArrayBuilder
-
Returns a FitsArrayBuilder.
- getInstance() - Static method in class uk.ac.starlink.fits.FitsNdxHandler
-
Returns a FitsNdxHandler.
- getInstance() - Static method in class uk.ac.starlink.fits.Unmapper
-
Returns an instance of this class.
- getIntValue(String) - Method in class uk.ac.starlink.fits.HeaderCards
-
Returns the integer value for a card with a given key.
- getKeyName(String) - Method in class uk.ac.starlink.fits.BintableColumnHeader
-
Gives the name of the actual FITS header card for the column
managed by this object and a standard FITS BINTABLE base header name.
- getLongValue(String) - Method in class uk.ac.starlink.fits.HeaderCards
-
Returns the long value for a card with a given key.
- getLongValue(HeaderCards, String) - Method in class uk.ac.starlink.fits.BintableColumnHeader
-
Returns the long integer value of a header card
for this object's column.
- getMimeType() - Method in class uk.ac.starlink.fits.AbstractFitsTableWriter
-
Returns "application/fits".
- getOffset() - Method in interface uk.ac.starlink.fits.BasicInput
-
Returns the curent position in this stream
(optional operation).
- getOffset() - Method in class uk.ac.starlink.fits.BlockMappedInput
-
- getOffset() - Method in class uk.ac.starlink.fits.BufferedRandomInput
-
- getOffset() - Method in class uk.ac.starlink.fits.SimpleMappedInput
-
- getRow(long) - Method in class uk.ac.starlink.fits.ColFitsStarTable
-
- getRow(long) - Method in class uk.ac.starlink.fits.FitsStarTable
-
- getRowCount() - Method in class uk.ac.starlink.fits.BintableStarTable
-
- getRowCount() - Method in class uk.ac.starlink.fits.ColFitsStarTable
-
- getRowCount() - Method in class uk.ac.starlink.fits.ColFitsTableSerializer
-
- getRowCount() - Method in class uk.ac.starlink.fits.FitsStarTable
-
- getRowCount() - Method in interface uk.ac.starlink.fits.FitsTableSerializer
-
Returns the number of rows which will be output.
- getRowCount() - Method in class uk.ac.starlink.fits.StandardFitsTableSerializer
-
- getRowLength() - Method in class uk.ac.starlink.fits.BintableStarTable
-
Returns the number of bytes occupied in the data stream by a single
row of the table.
- getRowSequence() - Method in class uk.ac.starlink.fits.ColFitsStarTable
-
- getStringValue(String) - Method in class uk.ac.starlink.fits.HeaderCards
-
Returns the string value for a card with a given key.
- getStringValue(HeaderCards, String) - Method in class uk.ac.starlink.fits.BintableColumnHeader
-
Returns the string value of a header card
for this object's column.
- getUnusedParams() - Method in class uk.ac.starlink.fits.HeaderCards
-
Returns an array of DescribedValue objects suitable for use as
items of per-table metadata derived from this FITS header.
- makeBlankNdx(URL, Ndx) - Method in class uk.ac.starlink.fits.FitsNdxHandler
-
- makeHdxDocument(URL) - Method in class uk.ac.starlink.fits.FitsNdxHandler
-
- makeHdxSource(URL) - Method in class uk.ac.starlink.fits.FitsNdxHandler
-
- makeNDArray(URL, AccessMode) - Method in class uk.ac.starlink.fits.FitsArrayBuilder
-
- makeNDArray(ArrayDataInput, AccessMode) - Method in class uk.ac.starlink.fits.FitsArrayBuilder
-
Makes a readable NDArray from a data input stream.
- makeNdx(URL, AccessMode) - Method in class uk.ac.starlink.fits.FitsNdxHandler
-
- makeNewNDArray(OutputStream, NDShape, Type, BadHandler, boolean, HeaderCard[]) - Method in class uk.ac.starlink.fits.FitsArrayBuilder
-
Makes a new HDU written into a given stream containing an NDArray
with the type and shape as specified.
- makeNewNDArray(URL, NDShape, Type, BadHandler) - Method in class uk.ac.starlink.fits.FitsArrayBuilder
-
Makes a new HDU at a given URL containing an NDArray with the
shape and type as specified.
- makeStarTable(DataSource, boolean, StoragePolicy) - Method in class uk.ac.starlink.fits.ColFitsTableBuilder
-
- makeStarTable(DataSource, boolean, StoragePolicy) - Method in class uk.ac.starlink.fits.FitsTableBuilder
-
Creates a StarTable from a DataSource which refers to a FITS
file or stream.
- makeStarTables(DataSource, StoragePolicy) - Method in class uk.ac.starlink.fits.FitsTableBuilder
-
- MappedFile - Class in uk.ac.starlink.fits
-
Provides mapped access to a data buffer using a single mapped byte buffer,
compatible with nom.tam.util classes.
- MappedFile(String) - Constructor for class uk.ac.starlink.fits.MappedFile
-
Constructs a MappedFile object by mapping the whole of
an existing file using read-only mode.
- MappedFile(String, String) - Constructor for class uk.ac.starlink.fits.MappedFile
-
Constructs a MappedFile object by mapping the whole of
an existing file with a given mode.
- MappedFile(String, String, long, int) - Constructor for class uk.ac.starlink.fits.MappedFile
-
Constructs a MappedFile object by mapping part of an existing file
with a given mode.
- MappedFile(ByteBuffer) - Constructor for class uk.ac.starlink.fits.MappedFile
-
Constructs a MappedFile object from a byte buffer.
- MappedFile.FileTooLongException - Exception in uk.ac.starlink.fits
-
Exception indicating that a file is too long to map.
- mark(int) - Method in class uk.ac.starlink.fits.MappedFile
-
- mark(int) - Method in class uk.ac.starlink.fits.MultiMappedFile
-
- markSupported() - Method in class uk.ac.starlink.fits.MappedFile
-
- markSupported() - Method in class uk.ac.starlink.fits.MultiMappedFile
-
- MAX_NCOLSTD - Static variable in class uk.ac.starlink.fits.FitsConstants
-
Maximum number of columns in standard FITS BINTABLE extension.
- MAX_NCOLSTD - Static variable in interface uk.ac.starlink.fits.WideFits
-
Maximum number of standard columns, imposed by FITS standard (999).
- MultiMappedFile - Class in uk.ac.starlink.fits
-
ArrayDataIO implementation which works by mapping but is capable of
splitting a file up into multiple mapped sections.
- MultiMappedFile(File, FileChannel.MapMode, int) - Constructor for class uk.ac.starlink.fits.MultiMappedFile
-
Constructs a MultiMappedFile from a file.
- MultiMappedFile(FileChannel, FileChannel.MapMode, int) - Constructor for class uk.ac.starlink.fits.MultiMappedFile
-
Constructs a MultiMappedFile from a channel.