Package ubic.gemma.core.loader.util.hdf5
Class H5Location
- java.lang.Object
-
- ubic.gemma.core.loader.util.hdf5.H5Location
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
H5Location(long locId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
exists(String path)
Check if a given path exists relative to this location.Optional<H5Attribute>
getAttribute(String name)
Optional<H5Attribute>
getAttribute(String path, String name)
List<String>
getAttributes()
List<String>
getAttributes(String path)
List<String>
getChildren()
Obtain the children of the given H5 location.List<String>
getChildren(String path)
H5Dataset
getDataset(String path)
H5Group
getGroup(String path)
String
getStringAttribute(String name)
String
getStringAttribute(String path, String name)
Obtain an attribute for a given path.boolean
hasAttribute(String name)
Check if an attribute exists.boolean
hasAttribute(String path, String name)
Check if an attribute for a given path exists.boolean
isGroup(String path)
Check if the given path refers to a H5 group.
-
-
-
Method Detail
-
getAttribute
public Optional<H5Attribute> getAttribute(String name)
-
getAttribute
public Optional<H5Attribute> getAttribute(String path, String name)
-
getStringAttribute
@Nullable public String getStringAttribute(String path, String name)
Obtain an attribute for a given path.
-
hasAttribute
public boolean hasAttribute(String name)
Check if an attribute exists.
-
hasAttribute
public boolean hasAttribute(String path, String name)
Check if an attribute for a given path exists.
-
exists
public boolean exists(String path)
Check if a given path exists relative to this location.
-
isGroup
public boolean isGroup(String path)
Check if the given path refers to a H5 group.
-
-