Class FitsHeaderImpl
java.lang.Object
nom.tam.fits.header.FitsKey
nom.tam.fits.header.FitsHeaderImpl
- All Implemented Interfaces:
Serializable, IFitsHeader
Deprecated.
The old concrete implementation of standardized FITS keywords, with a very unintuitive class name.
- Author:
- ritchie
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface IFitsHeader
IFitsHeader.HDU, IFitsHeader.SOURCE, IFitsHeader.VALUEModifier and TypeInterfaceDescriptionstatic enumAn enumeration of HDU types in which a header keyword may be used.static enumDocumentation sources for the various known conventions.static enumValues types to which implementing keywords can be restricted to. -
Field Summary
Fields inherited from interface IFitsHeader
MAX_INDEXModifier and TypeFieldDescriptionstatic final intMax numeric index we may use to replace n in the Java name of indexed variables. -
Constructor Summary
ConstructorsConstructorDescriptionFitsHeaderImpl(String headerName, IFitsHeader.SOURCE status, IFitsHeader.HDU hdu, IFitsHeader.VALUE valueType, String comment) Deprecated. -
Method Summary
Methods inherited from class FitsKey
comment, hdu, impl, isCommentStyleKey, key, status, valueTypeModifier and TypeMethodDescriptioncomment()Returns the comment associated to this FITS header entry.hdu()Returns the type of HDU(s) in which this header entry may be used.final FitsKeyimpl()(primarily for internal use) Returns the concrete implementation of this header entry, which provides implementation of access methods.static booleanisCommentStyleKey(String key) (for internal use) Checks if a keywords is known to be a comment-style keyword.key()Returns the FITS header keyword (or keyword template) for this header entry.status()Returns the standard convention, which defines this FITS header entryThe type(s) of value(s) this FITS header entry might take.Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IFitsHeader
extractIndices, nModifier and TypeMethodDescriptiondefault int[]extractIndices(String key) Extracts the indices for this stndardized key from an actual keyword realization.default IFitsHeadern(int... numbers) Constructs an indexed FITS header keyword entry from this stem, replacing index place-holders (indicated by lower-case 'n' in the name) with actual numerical values.
-
Constructor Details
-
FitsHeaderImpl
@Deprecated public FitsHeaderImpl(String headerName, IFitsHeader.SOURCE status, IFitsHeader.HDU hdu, IFitsHeader.VALUE valueType, String comment) throws IllegalArgumentException Deprecated.Creates a new standardized FITS keyword with the specific usage constraints- Parameters:
headerName- The keyword as it will appear in the FITS headers, usually a string with up to 8 characters, containing uppper case letters (A-Z), digits (0-9), and/or underscore (_) or hyphen (-) characters for standard FITS keywords.status- The convention that defines this keywordhdu- the type of HDU this keyword may appear invalueType- the type of value that may be associated with this keywordcomment- the standard comment to include with this keyword- Throws:
IllegalArgumentException- if the keyword name is invalid.
-
FitsKeyclass instead. This class is provided for compatibility with prior releases.