public class UndefinedData extends Data
dataSize, fileOffset, input| Constructor and Description |
|---|
UndefinedData(Header h) |
UndefinedData(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.
|
Object |
getData() |
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(Object x)
x - object to create the hdu fromprotected void fillHeader(Header head)
head - The FITS headerprotected long getTrueSize()
public void read(ArrayDataInput i) throws FitsException
FitsElementread in interface FitsElementread in class Datai - The input data streamFitsException - if the read was unsuccessful.public void write(ArrayDataOutput o) throws FitsException
Datawrite in interface FitsElementwrite in class Datao - The output stream on which to write the data.FitsException - if the write was unsuccessful.Copyright © 1996–2018 nom-tam-fits. All rights reserved.