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