|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnom.tam.fits.Data
nom.tam.fits.UndefinedData
public class UndefinedData
This class provides a simple holder for data which is not handled by other classes.
| Field Summary |
|---|
| Fields inherited from class nom.tam.fits.Data |
|---|
dataSize, fileOffset, input |
| Constructor Summary | |
|---|---|
UndefinedData(Header h)
|
|
UndefinedData(java.lang.Object x)
Create an UndefinedData object using the specified object. |
|
| Method Summary | |
|---|---|
protected void |
fillHeader(Header head)
Fill header with keywords that describe data. |
java.lang.Object |
getData()
Return the actual data. |
protected int |
getTrueSize()
Get the size in bytes of the data |
void |
read(ArrayDataInput i)
Read a data array into the current object and if needed position to the beginning of the next FITS block. |
void |
write(ArrayDataOutput o)
Write the data -- including any buffering needed |
| Methods inherited from class nom.tam.fits.Data |
|---|
getFileOffset, getKernel, getSize, rewrite, rewriteable, setFileOffset |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UndefinedData(Header h)
throws FitsException
FitsExceptionpublic UndefinedData(java.lang.Object x)
| Method Detail |
|---|
protected void fillHeader(Header head)
head - The FITS header
public void read(ArrayDataInput i)
throws FitsException
Data
read in interface FitsElementread in class Datai - The input data stream
FitsException
public void write(ArrayDataOutput o)
throws FitsException
Data
write in interface FitsElementwrite in class Datao - The output stream on which to write the data.
FitsExceptionprotected int getTrueSize()
public java.lang.Object getData()
getData in class Data
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||