public class CardType<T> extends Object
Modifier and Type | Field and Description |
---|---|
static List<CardType<?>> |
CARD_TYPES
Unmofifiable list of all known card types.
|
static CardType<Void> |
COMMENT
COMMENT card type.
|
static CardType<Void> |
COMMENT_BLANK
Card type with nothing in the keyword field.
|
static CardType<Void> |
COMMENT_OTHER
Non-standard comment card (no value indicator).
|
static CardType<double[]> |
COMPLEX
Standard key/value card with complex content.
|
static CardType<double[]> |
COMPLEX_HIER
HIERARCH key/value card with complex content.
|
static CardType<String> |
CONTINUE
CONTINUE card type.
|
static CardType<Void> |
END
END card type.
|
static CardType<Void> |
HISTORY
HISTORY card type.
|
static CardType<BigInteger> |
INTEGER
Standard key/value card with integer content.
|
static CardType<BigInteger> |
INTEGER_HIER
HIERARCH key/value card with integer content.
|
static CardType<Boolean> |
LOGICAL
Standard key/value card with logical content.
|
static CardType<Boolean> |
LOGICAL_HIER
HIERARCH key/value card with logical content.
|
static CardType<Double> |
REAL
Standard key/value card with floating point content.
|
static CardType<Double> |
REAL_HIER
HIERARCH key/value card with floating point content.
|
static CardType<String> |
STRING
Standard key/value card with string content.
|
static CardType<String> |
STRING_HIER
HIERARCH key/value card with string content.
|
static CardType<Void> |
UNKNOWN
Catch-all card type - apparently not legal FITS.
|
Modifier and Type | Method and Description |
---|---|
Class<T> |
getValueClass()
Returns the type of values yielded by this CardType.
|
ParsedCard<T> |
toCard(String txt80)
Parses an 80-character string as a FITS header card.
|
String |
toString() |
public static final CardType<Void> COMMENT_BLANK
public static final CardType<String> STRING_HIER
public static final CardType<Boolean> LOGICAL_HIER
public static final CardType<BigInteger> INTEGER
public static final CardType<BigInteger> INTEGER_HIER
public static final CardType<Double> REAL_HIER
public static final CardType<double[]> COMPLEX
public static final CardType<double[]> COMPLEX_HIER
public static final CardType<Void> COMMENT_OTHER
public Class<T> getValueClass()
public ParsedCard<T> toCard(String txt80)
txt80
- 80-character string, should be ASCII-cleanCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.