|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nom.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
FitsException
public UndefinedData(java.lang.Object x)
Method Detail |
---|
protected void fillHeader(Header head)
head
- The FITS headerpublic void read(ArrayDataInput i) throws FitsException
Data
read
in interface FitsElement
read
in class Data
i
- The input data stream
FitsException
public void write(ArrayDataOutput o) throws FitsException
Data
write
in interface FitsElement
write
in class Data
o
- The output stream on which to write the data.
FitsException
protected 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 |