net.grelf.grip
Class FITS_KeywordRecord

java.lang.Object
  extended by net.grelf.grip.FITS_KeywordRecord

public class FITS_KeywordRecord
extends java.lang.Object

Representing an 80-byte FITS keyword record as read from a FITS stream, with its keyword, value and comment (if any).


Constructor Summary
FITS_KeywordRecord(byte[] record)
          Construct from 80-character record as read from FITS file.
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FITS_KeywordRecord

public FITS_KeywordRecord(byte[] record)
Construct from 80-character record as read from FITS file.

Method Detail

getRecord

public java.lang.String getRecord()
The original unparsed record.


getKeyword

public java.lang.String getKeyword()

getValue

public java.lang.String getValue()
Returns null if there is no value.


hasValue

public boolean hasValue()

getComment

public java.lang.String getComment()
Returns null if there is no comment.


hasComment

public boolean hasComment()