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(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
|
getFileOffset, getKernel, getSize, reset, rewrite, rewriteable, setFileOffsetpublic UndefinedData(Header h) throws FitsException
FitsExceptionpublic UndefinedData(java.lang.Object x)
protected void fillHeader(Header head)
head - The FITS headerpublic void read(ArrayDataInput i) throws FitsException
Dataread in interface FitsElementread in class Datai - The input data streamFitsExceptionpublic void write(ArrayDataOutput o) throws FitsException
Datawrite in interface FitsElementwrite in class Datao - The output stream on which to write the data.FitsExceptionprotected long getTrueSize()
public java.lang.Object getData()