|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnom.tam.fits.HeaderCard
public class HeaderCard
This class describes methods to access and manipulate the individual cards for a FITS Header.
Constructor Summary | |
---|---|
HeaderCard(String card)
Create a HeaderCard from a FITS card image |
|
HeaderCard(String key,
String value,
String comment)
Create a HeaderCard from its component parts |
Method Summary | |
---|---|
String |
getComment()
Return the comment from this card |
String |
getKey()
Return the keyword from this card |
String |
getValue()
Return the value from this card |
boolean |
isKeyValuePair()
Is this a key/value card? |
boolean |
isStringValue()
Does this card contain a string value? |
String |
toString()
Return the 80 character card image |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HeaderCard(String key, String value, String comment) throws HeaderCardException
key
- keyword (null for a comment)value
- value (null for a comment or keyword without an '=')comment
- comment
HeaderCardException
- for any invalid keyword or valuepublic HeaderCard(String card)
card
- the 80 character card imageMethod Detail |
---|
public boolean isStringValue()
public boolean isKeyValuePair()
public String getKey()
public String getValue()
public String getComment()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |