public interface FitsElement
Modifier and Type | Method and Description |
---|---|
long |
getFileOffset() |
long |
getSize() |
void |
read(ArrayDataInput in)
Read a data array into the current object and if needed position to the
beginning of the next FITS block.
|
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() |
void |
write(ArrayDataOutput out)
Write the contents of the element to a data sink.
|
long getFileOffset()
long getSize()
void read(ArrayDataInput in) throws FitsException, IOException
in
- The input data streamFitsException
- if the read was unsuccessful.IOException
- if the read was unsuccessful.boolean reset()
void rewrite() throws FitsException, IOException
FitsException
- if the rewrite was unsuccessful.IOException
- if the rewrite was unsuccessful.boolean rewriteable()
true
if this element can be rewritten?void write(ArrayDataOutput out) throws FitsException, IOException
out
- The data sink.FitsException
- if the write was unsuccessful.IOException
- if the write was unsuccessful.Copyright © 1996–2016 nom-tam-fits. All rights reserved.