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, setFileOffset
public UndefinedData(Header h) throws FitsException
FitsException
public 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
FitsElement
read
in interface FitsElement
read
in class Data
i
- The input data streamFitsException
- if the read was unsuccessful.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
- if the write was unsuccessful.Copyright © 1996–2016 nom-tam-fits. All rights reserved.