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, isMagic
beep, configureDetail, getChildMaker, getCreator, getDataObject, getIcon, getLabel, getParentObject, getPathElement, hasDataObject, makeChild, makeErrorChild, registerDataObject, setChildMaker, setCreator, setDescription, setIconID, setLabel, setName, setParentObject, toString
public FITSFileDataNode(FileDataSource fdatsrc) throws NoSuchDataException
NoSuchDataException
public FITSFileDataNode(File file) throws NoSuchDataException
NoSuchDataException
public String getName()
DataNode
getName
in interface DataNode
getName
in class FITSDataNode
protected FITSDataNode.ArrayDataMaker getArrayData(long start, long size)
FITSDataNode
start
into the stream
and size
bytes long.getArrayData
in class FITSDataNode
start
- 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
NoSuchDataException
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.