public enum Checksum extends java.lang.Enum<Checksum> implements IFitsHeader
IFitsHeader.HDU, IFitsHeader.SOURCE, IFitsHeader.VALUE
Enum Constant and Description |
---|
CHECKSUM
The value field of the CHECKSUM keyword shall contain a 16 character
string, left justified starting in column 12, containing the ASCII
encoded complement of the checksum of the FITS HDU (Header and Data
Unit).
|
CHECKVER
The value field of the CHECKVER keyword shall contain a string, unique in
the first 8 characters, which distinguishes between any future
alternative checksum algorithms which may be defined.
|
DATASUM
The value field of the DATASUM keyword shall be a character string
containing the unsigned integer value of the checksum of the data records
of the HDU.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
comment() |
IFitsHeader.HDU |
hdu() |
java.lang.String |
key() |
IFitsHeader |
n(int... number) |
IFitsHeader.SOURCE |
status() |
static Checksum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Checksum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
IFitsHeader.VALUE |
valueType() |
public static final Checksum CHECKSUM
public static final Checksum CHECKVER
public static final Checksum DATASUM
public static Checksum[] values()
for (Checksum c : Checksum.values()) System.out.println(c);
public static Checksum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String comment()
comment
in interface IFitsHeader
public IFitsHeader.HDU hdu()
hdu
in interface IFitsHeader
public java.lang.String key()
key
in interface IFitsHeader
public IFitsHeader n(int... number)
n
in interface IFitsHeader
public IFitsHeader.SOURCE status()
status
in interface IFitsHeader
public IFitsHeader.VALUE valueType()
valueType
in interface IFitsHeader