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()
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
|
getFileOffset, getKernel, getSize, rewrite, rewriteable, setFileOffset
public UndefinedData(Header h) throws FitsException
FitsException
public UndefinedData(Object x)
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 streamFitsException
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()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.