public interface FitsElement
| Modifier and Type | Method and Description |
|---|---|
long |
getFileOffset()
Get the byte at which this element begins.
|
long |
getSize()
The size of this element in bytes
|
void |
read(ArrayDataInput in)
Read the contents of the element from an input source.
|
boolean |
reset()
Reset the input stream to point to the beginning of this element
|
void |
rewrite()
Rewrite the contents of the element in place.
|
boolean |
rewriteable()
Can this element be rewritten?
|
void |
write(ArrayDataOutput out)
Write the contents of the element to a data sink.
|
void read(ArrayDataInput in) throws FitsException, java.io.IOException
in - The input source.FitsExceptionjava.io.IOExceptionvoid write(ArrayDataOutput out) throws FitsException, java.io.IOException
out - The data sink.FitsExceptionjava.io.IOExceptionvoid rewrite()
throws FitsException,
java.io.IOException
FitsExceptionjava.io.IOExceptionlong getFileOffset()
boolean rewriteable()
long getSize()
boolean reset()