public static enum FitsReduction.Write extends Enum<FitsReduction.Write>
| Modifier and Type | Field and Description |
|---|---|
private int |
mask
The bitmask of possible save actions.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMask()
Returns the bit-mask of this save action.
|
File |
getWriteFile(File f)
Gets a save file for this write flag.
|
boolean |
isSet(int flags)
Checks, if this save flag is set in the check.
|
static FitsReduction.Write |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FitsReduction.Write[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FitsReduction.Write RAW
public static final FitsReduction.Write REDUCED
public static final FitsReduction.Write GAUSS
public static final FitsReduction.Write XSTRIP
public static final FitsReduction.Write YSTRIP
public static FitsReduction.Write[] values()
for (FitsReduction.Write c : FitsReduction.Write.values()) System.out.println(c);
public static FitsReduction.Write 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 int getMask()
public boolean isSet(int flags)