public class FITSFileDataNode extends FITSDataNode
DataNode interface for
representing FITS objects stored on disk.FITSDataNode.ArrayDataMaker| Constructor and Description |
|---|
FITSFileDataNode(File file) |
FITSFileDataNode(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. |
String |
getName()
Gets the name of this object.
|
static FileDataSource |
makeFileDataSource(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(FileDataSource fdatsrc) throws NoSuchDataException
NoSuchDataExceptionpublic FITSFileDataNode(File file) throws NoSuchDataException
NoSuchDataExceptionpublic String getName()
DataNodegetName in interface DataNodegetName in class FITSDataNodeprotected FITSDataNode.ArrayDataMaker getArrayData(long start, long size)
FITSDataNodestart into the stream
and size bytes long.getArrayData 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 FileDataSource makeFileDataSource(File file) throws NoSuchDataException
NoSuchDataExceptionCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.