public class FitsFactory
extends java.lang.Object
Constructor and Description |
---|
FitsFactory() |
Modifier and Type | Method and Description |
---|---|
static Data |
dataFactory(Header hdr)
Given a Header return an appropriate datum.
|
static boolean |
getAllowTerminalJunk()
Is terminal junk (i.e., non-FITS data following a valid HDU)
allowed.
|
static boolean |
getUseHierarch()
Are we processing HIERARCH style keywords
|
static BasicHDU |
HDUFactory(Header hdr,
Data d)
Given Header and data objects return
the appropriate type of HDU.
|
static BasicHDU |
HDUFactory(java.lang.Object o)
Given an object, create the appropriate
FITS header to describe it.
|
static void |
setAllowTerminalJunk(boolean flag)
Do we allow junk after a valid FITS file?
|
static void |
setCheckAsciiStrings(boolean flag)
Enable/Disable checking of strings values used in tables
to ensure that they are within the range specified by the
FITS standard.
|
static void |
setUseAsciiTables(boolean flag)
Indicate whether ASCII tables should be used
where feasible.
|
static void |
setUseHierarch(boolean flag)
Enable/Disable hierarchical keyword processing.
|
public static void setUseAsciiTables(boolean flag)
public static void setUseHierarch(boolean flag)
public static void setCheckAsciiStrings(boolean flag)
public static boolean getUseHierarch()
public static void setAllowTerminalJunk(boolean flag)
public static boolean getAllowTerminalJunk()
public static Data dataFactory(Header hdr) throws FitsException
FitsException
public static BasicHDU HDUFactory(java.lang.Object o) throws FitsException
o
- The object to be described.FitsException
public static BasicHDU HDUFactory(Header hdr, Data d) throws FitsException
FitsException