uk.ac.starlink.datanode.nodes
Class FITSStreamDataNode

java.lang.Object
  extended by uk.ac.starlink.datanode.nodes.DefaultDataNode
      extended by uk.ac.starlink.datanode.nodes.FITSDataNode
          extended by uk.ac.starlink.datanode.nodes.FITSStreamDataNode
All Implemented Interfaces:
DataNode

public class FITSStreamDataNode
extends FITSDataNode

A DataNode representing a FITS file whose data comes from a stream.

Author:
Mark Taylor (Starlink)

Nested Class Summary
 
Nested classes/interfaces inherited from class uk.ac.starlink.datanode.nodes.FITSDataNode
FITSDataNode.ArrayDataMaker
 
Constructor Summary
FITSStreamDataNode(DataSource datsrc)
           
 
Method Summary
protected  FITSDataNode.ArrayDataMaker getArrayData(long start, long size)
          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.
 
Methods inherited from class uk.ac.starlink.datanode.nodes.FITSDataNode
allowsChildren, getChildIterator, getDataInput, getDescription, getName, getNodeTLA, getNodeType, getPathSeparator, isMagic
 
Methods inherited from class uk.ac.starlink.datanode.nodes.DefaultDataNode
beep, configureDetail, getChildMaker, getCreator, getDataObject, getIcon, getLabel, getParentObject, getPathElement, hasDataObject, makeChild, makeErrorChild, registerDataObject, setChildMaker, setCreator, setDescription, setIconID, setLabel, setName, setParentObject, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FITSStreamDataNode

public FITSStreamDataNode(DataSource datsrc)
                   throws NoSuchDataException
Throws:
NoSuchDataException
Method Detail

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


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.