Package ubic.gemma.core.loader.util.hdf5
Class H5File
- java.lang.Object
-
- ubic.gemma.core.loader.util.hdf5.H5Location
-
- ubic.gemma.core.loader.util.hdf5.H5File
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class H5File extends H5Location implements Closeable
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Path
getPath()
static H5File
open(Path path)
Open an HDF5 file.-
Methods inherited from class ubic.gemma.core.loader.util.hdf5.H5Location
exists, getAttribute, getAttribute, getAttributes, getAttributes, getChildren, getChildren, getDataset, getGroup, getStringAttribute, getStringAttribute, hasAttribute, hasAttribute, isGroup
-
-
-
-
Method Detail
-
open
public static H5File open(Path path) throws IOException
Open an HDF5 file.- Throws:
FileNotFoundException
- if the file does not existTruncatedH5FileException
- if the file is truncatedIOException
- for any other file-related errors
-
getPath
public Path getPath()
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-