Class H5Location

java.lang.Object
ubic.gemma.core.loader.util.hdf5.H5Location
Direct Known Subclasses:
H5File, H5Group

public abstract class H5Location extends Object
Represents a location which is either a H5File or a H5Group.
  • Constructor Details

    • H5Location

      protected H5Location(long locId)
  • Method Details

    • getAttributes

      public List<String> getAttributes()
    • getAttributes

      public List<String> getAttributes(String path)
    • getAttribute

      public Optional<H5Attribute> getAttribute(String name)
    • getAttribute

      public Optional<H5Attribute> getAttribute(String path, String name)
    • getStringAttribute

      @Nullable public String getStringAttribute(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.
    • getChildren

      public List<String> getChildren()
      Obtain the children of the given H5 location.
    • getChildren

      public List<String> getChildren(String path)
    • isGroup

      public boolean isGroup(String path)
      Check if the given path refers to a H5 group.
    • getGroup

      public H5Group getGroup(String path)
    • getDataset

      public H5Dataset getDataset(String path)