public enum Checksum extends 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 |
---|---|
String |
comment() |
IFitsHeader.HDU |
hdu() |
String |
key() |
IFitsHeader |
n(int... number) |
IFitsHeader.SOURCE |
status() |
static Checksum |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String comment()
comment
in interface IFitsHeader
public IFitsHeader.HDU hdu()
hdu
in interface IFitsHeader
public 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
Copyright © 1996–2016 nom-tam-fits. All rights reserved.