Interface FITSDataNode.ArrayDataMaker

  • Enclosing class:
    FITSDataNode

    public static interface FITSDataNode.ArrayDataMaker
    Interface used for objects which can supply an ArrayDataInput object on demand (more than once if necessary).
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      nom.tam.util.ArrayDataInput getArrayData()
      Returns an ArrayDataInput object which can supply the array data.
      uk.ac.starlink.util.DataSource getDataSource()
      Returns a DataSource which can supply the input stream again.
      long getOffset()
      Returns the offset into the datasource's input stream at which the ArrayDataInput data starts.
    • Method Detail

      • getArrayData

        nom.tam.util.ArrayDataInput getArrayData()
                                          throws java.io.IOException
        Returns an ArrayDataInput object which can supply the array data.
        Throws:
        java.io.IOException
      • getDataSource

        uk.ac.starlink.util.DataSource getDataSource()
        Returns a DataSource which can supply the input stream again.
      • getOffset

        long getOffset()
        Returns the offset into the datasource's input stream at which the ArrayDataInput data starts.