public class TamFitsUtil extends Object
NodeUtil.hasTAMFITS() returns true,
since nom.tam.fits is not guaranteed to be present at runtime.| Constructor and Description |
|---|
TamFitsUtil() |
| Modifier and Type | Method and Description |
|---|---|
static DataNode |
getFitsDataNode(File file,
byte[] magic,
DataSource datsrc)
Attempts to turn a file into a DataNode based on FITS classes.
|
static DataNode |
getFitsStreamDataNode(DataSource datsrc)
Attempts to turn a data source into a DataNode based on FITS classes.
|
public static DataNode getFitsDataNode(File file, byte[] magic, DataSource datsrc) throws IOException, NoSuchDataException
IOExceptionNoSuchDataExceptionpublic static DataNode getFitsStreamDataNode(DataSource datsrc) throws NoSuchDataException
NoSuchDataExceptionCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.