Class FITSFileDataNode

All Implemented Interfaces:
DataNode

public class FITSFileDataNode extends FITSDataNode
An implementation of the DataNode interface for representing FITS objects stored on disk.
Version:
$Id$
Author:
Mark Taylor (Starlink)
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Description copied from interface: DataNode
      Gets the name of this object. This is an intrinsic property of the object.
      Specified by:
      getName in interface DataNode
      Overrides:
      getName in class FITSDataNode
      Returns:
      the name of the object
    • getArrayData

      protected FITSDataNode.ArrayDataMaker getArrayData(long start, long size)
      Description copied from class: FITSDataNode
      Returns an ArrayDataMaker encapsulating the same input stream as the on one which this FITSDataNode is based, but starting at a given offset start into the stream and size bytes long.
      Specified by:
      getArrayData in class FITSDataNode
      Parameters:
      start - the offset into this FITSDataNode's stream at which the returned source's streams should start
      size - the number of bytes contained by the returned source's stream
    • makeFileDataSource

      public static uk.ac.starlink.util.FileDataSource makeFileDataSource(File file) throws NoSuchDataException
      Throws:
      NoSuchDataException