public class FITS_KeywordRecord
extends java.lang.Object
Constructor and Description |
---|
FITS_KeywordRecord(byte[] record)
Construct from 80-character record as read from FITS file.
|
FITS_KeywordRecord(java.lang.String keyword,
java.lang.String value)
Construct from scratch using a key and a value.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComment()
Returns null if there is no comment.
|
java.lang.String |
getKeyword() |
java.lang.String |
getRecord()
The original unparsed record.
|
java.lang.String |
getValue()
Returns null if there is no value.
|
boolean |
hasComment() |
boolean |
hasValue() |
boolean |
isNumeric()
Get the type of the value in this record.
|
void |
setValue(java.lang.String newValue) |
public FITS_KeywordRecord(byte[] record)
public FITS_KeywordRecord(java.lang.String keyword, java.lang.String value)
public java.lang.String getRecord()
public boolean isNumeric()
public java.lang.String getKeyword()
public java.lang.String getValue()
public boolean hasValue()
public void setValue(java.lang.String newValue)
public java.lang.String getComment()
public boolean hasComment()