Package nom.tam.util
package nom.tam.util
Various commonly used classes for nom-tam-fits. Many of its classes are intended promarily for internal use within
the library. It's a bit of catch-all package with all sort of classes thrown in here. Some of these would have had a
more natural home in the other packages. A large part of this package provides the IO support for nom-tam-fits, which
probably should have deserved its own package. But this is what we have, and we are going to stick with it.
-
ClassDescriptionEfficient reading and writing of arrays to and from files, with custom encoding.Interface for reading array data from inputs.Interface for writing array data to outputs.(for internal use) Varioys static functions for handling arrays.Efficient reading of binary arrays from streams with custom binary encoding.Efficient writing of binary arrays to streams with custom binary encoding.(for internal use) Various static functios to handle ASCII sequencesDeprecated.Deprecated.Use
FitsInputStream
instead which provides the same functionality with a less misleading name, or else useArrayInputStream
as a base for a more generic implementation for any (non-FITS) encoding.Deprecated.UseFitsOutputStream
, which provides the exact same functionality but with a less misleading name, or else useArrayOutputStream
as a base for an implementation with any (non-FITS) encoding.Deprecated.UseFitsFile
instead, which replaces the oldBufferedFile
with a less misleading name, or elseArrayDataFile
, which provides a base for a more more generic implementation for efficient reading/writing arrays using any (non-FITS) encoding.Deprecated.UseFitsEncoder
instead which provides a similar function but in a more consistent way and with a less misleading name.Deprecated.(for internal use) It is a rusty-rail compatibility implementation only, unsafe for general use.Reading from and writing to byte arrays with a stream-like interface (primarily for internal use) .Stream interface for reading from aByteBuffer
(primarily for internal use)Stream interface for writing to aByteBuffer
(primarily for internal use)Deprecated.This class should not be exposed in the public API and is intended for internal use only in ASCII tables.Deprecated.This class should not be exposed in the public API and is intended for internal use only in ASCII tables.ColumnTable<T>Table data that is stored (internally) in column major format.A no-frills complex value, for representing complex numbers in FITS headers.Single-precision complex values.Cursor<KEY,VALUE> AnIterator
-based interface for key / value pairs allowing insertions and reverse movement also.CursorValue<T>Interface for cursor-based access to keysA non FITS-specific interface for generic table data access.Decodes FITS-formatted binary data into Java arrays (primarily for internal use)Encodes select Java arrays into FITS binary format (primarily for internal use)For reading and writing FITS files.For reading FITS files through anInputStream
.Base interface for reading and writing FITS.Interface for FITS-specific output.For writing FITS files through anOutputStream
.Formatting number values for use in FITS headers.Exception that is thrown if values do not appear in the format they are expected.An ordered hash map implementation.Efficient base class for decoding of binary input into Java arrays (primarily for internal use)Interface for asic binary input reading functionality.Access toLogger
instances by class.Efficient base class for encoding Java arrays into binary output (primarily for internal use)Interface for basic binary output writing functionality.Quantizes floating point values as integers.Interface that combines file-based random acesss with high-throughput array IOInterface for IO objects that support file-like random access.Interface for basic random access read and write operations.Deprecated.Use try-with-resources constructs of Java 8+ instead.For when attempting to do something illegal or invalid with FITS tables.
FitsDecoder
instead which provides a similar function but in a more consistent way and with a less misleading name.