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