|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnom.tam.fits.HDU
public class HDU
Methods to read/write FITS Header/Data unit (HDU). This class is generally used either to get access to the Header and Data objects, or to perform manipulations which affect both the Header and Data.
| Constructor Summary | |
|---|---|
HDU()
|
|
| Method Summary | |
|---|---|
static BasicHDU |
create(Header header)
Create an HDU from the supplied Header object. |
static BasicHDU |
create(java.lang.Object x)
Create an HDU which points to the given object. |
static AsciiTableHDU |
createAsciiTable(java.lang.Object[][] x)
|
static RandomGroupsHDU |
createRandomGroups(java.lang.Object[][] x)
|
static BasicHDU |
readHDU(BufferedDataInputStream stream)
Read an HDU. |
static boolean |
skipHDU(BufferedDataInputStream input)
Skip an HDU |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HDU()
| Method Detail |
|---|
public static BasicHDU create(java.lang.Object x)
throws FitsException
x - The data to which the HDU points.
FitsException - if the HDU could not be created.
public static RandomGroupsHDU createRandomGroups(java.lang.Object[][] x)
throws FitsException
FitsException
public static AsciiTableHDU createAsciiTable(java.lang.Object[][] x)
throws FitsException
FitsException
public static BasicHDU create(Header header)
throws FitsException
header - the Header for the HDU to be created.
FitsException - if the HDU could not be created.
public static BasicHDU readHDU(BufferedDataInputStream stream)
throws FitsException,
java.io.IOException
stream - The data stream the FITS data is to be found on.
FitsException - if there was a problem with the data.
java.io.IOException
public static boolean skipHDU(BufferedDataInputStream input)
throws FitsException,
java.io.IOException
FitsException - if the data could not be skipped.
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||