public class FITSFileDataNode extends FITSDataNode
DataNode interface for
representing FITS objects stored on disk.FITSDataNode.ArrayDataMaker| Constructor and Description |
|---|
FITSFileDataNode(java.io.File file) |
FITSFileDataNode(uk.ac.starlink.util.FileDataSource fdatsrc) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
java.lang.String |
getName()
Gets the name of this object.
|
static uk.ac.starlink.util.FileDataSource |
makeFileDataSource(java.io.File file) |
allowsChildren, getChildIterator, getDataInput, getDescription, getNodeTLA, getNodeType, getPathSeparator, isMagicbeep, configureDetail, getChildMaker, getCreator, getDataObject, getIcon, getLabel, getParentObject, getPathElement, hasDataObject, makeChild, makeErrorChild, registerDataObject, setChildMaker, setCreator, setDescription, setIconID, setLabel, setName, setParentObject, toStringpublic FITSFileDataNode(uk.ac.starlink.util.FileDataSource fdatsrc)
throws NoSuchDataException
NoSuchDataExceptionpublic FITSFileDataNode(java.io.File file)
throws NoSuchDataException
NoSuchDataExceptionpublic java.lang.String getName()
DataNodegetName in interface DataNodegetName in class FITSDataNodeprotected FITSDataNode.ArrayDataMaker getArrayData(long start, long size)
FITSDataNodegetArrayData in class FITSDataNodestart - the offset into this FITSDataNode's stream at which
the returned source's streams should startsize - the number of bytes contained by the returned
source's streampublic static uk.ac.starlink.util.FileDataSource makeFileDataSource(java.io.File file)
throws NoSuchDataException
NoSuchDataExceptionCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.