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.FitsException
java.io.IOException
void write(ArrayDataOutput out) throws FitsException, java.io.IOException
out
- The data sink.FitsException
java.io.IOException
void rewrite() throws FitsException, java.io.IOException
FitsException
java.io.IOException
long getFileOffset()
boolean rewriteable()
long getSize()
boolean reset()