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
IOException
NoSuchDataException
public static DataNode getFitsStreamDataNode(DataSource datsrc) throws NoSuchDataException
NoSuchDataException
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.