Package nom.tam.fits.header
Enum IFitsHeader.HDU
- All Implemented Interfaces:
Serializable
,Comparable<IFitsHeader.HDU>
,java.lang.constant.Constable
- Enclosing interface:
- IFitsHeader
An enumeration of HDU types in which a header keyword may be used.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionkeyword may be used in any HDUkeyword for ASCII tables onlykeyword for binary tableskeyword must appear in extension HDUs onlykeyword for random groups onlyimage and/or random groups keywordskeyword must appear in the primary HDU onlyDeprecated.Generic table keyword, can be used both in ASCII and binary tables -
Method Summary
Modifier and TypeMethodDescriptionstatic IFitsHeader.HDU
Returns the enum constant of this type with the specified name.static IFitsHeader.HDU[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
ANY
keyword may be used in any HDU -
IMAGE
image and/or random groups keywords -
GROUPS
keyword for random groups only -
TABLE
Generic table keyword, can be used both in ASCII and binary tables -
ASCII_TABLE
keyword for ASCII tables only -
BINTABLE
keyword for binary tables -
PRIMARY
keyword must appear in the primary HDU only -
EXTENSION
keyword must appear in extension HDUs only -
PRIMARY_EXTENSION
Deprecated.UseANY
instead.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
ANY
instead.