Package uk.ac.starlink.fits
Class ParsedCard<T>
- java.lang.Object
-
- uk.ac.starlink.fits.ParsedCard<T>
-
public class ParsedCard<T> extends java.lang.Object
Represents a single parsed FITS header card. This is always the representation of a single 80-byte FITS header.- Since:
- 4 Mar 2022
- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description ParsedCard(java.lang.String key, CardType<T> type, T value, java.lang.String comment)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getComment()
Returns the comment text associated with this card.java.lang.String
getKey()
Returns the FITS keyword.CardType<T>
getType()
Returns the type of header card.T
getValue()
Returns the keyword value.
-
-
-
Method Detail
-
getKey
public java.lang.String getKey()
Returns the FITS keyword.- Returns:
- keyword, may be null
-
getValue
public T getValue()
Returns the keyword value.- Returns:
- value, may be null
-
getComment
public java.lang.String getComment()
Returns the comment text associated with this card.- Returns:
- comment, may be null
-
-