public class UndefinedData extends Data
dataSize, fileOffset, input
Constructor and Description |
---|
UndefinedData(Header h) |
UndefinedData(java.lang.Object x)
Create an UndefinedData object using the specified object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
fillHeader(Header head)
Fill header with keywords that describe data.
|
java.lang.Object |
getData()
Return the actual data.
|
protected long |
getTrueSize()
Get the size in bytes of the data
|
void |
read(nom.tam.util.ArrayDataInput i)
Read a data array into the current object and if needed position
to the beginning of the next FITS block.
|
void |
write(nom.tam.util.ArrayDataOutput o)
Write the data -- including any buffering needed
|
getFileOffset, getKernel, getSize, reset, rewrite, rewriteable, setFileOffset
public UndefinedData(Header h) throws FitsException
FitsException
public UndefinedData(java.lang.Object x)
protected void fillHeader(Header head)
head
- The FITS headerpublic void read(nom.tam.util.ArrayDataInput i) throws FitsException
Data
read
in interface FitsElement
read
in class Data
i
- The input data streamFitsException
public void write(nom.tam.util.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 long getTrueSize()
public java.lang.Object getData()