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.
|
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, IOException
in
- The input source.FitsException
IOException
void write(ArrayDataOutput out) throws FitsException, IOException
out
- The data sink.FitsException
IOException
void rewrite() throws FitsException, IOException
FitsException
IOException
long getFileOffset()
boolean rewriteable()
long getSize()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.