public interface Node
Modifier and Type | Method and Description |
---|---|
long |
getAddress()
This returns the byte offset into the file of the object header for this
node.
|
Attribute |
getAttribute(java.lang.String name)
Gets the attribute with the given name.
|
java.util.Map<java.lang.String,Attribute> |
getAttributes()
Gets the attributes associated with this
Node . |
java.io.File |
getFile()
Gets the
File object containing this Node .Call getFileAsPath() instead if the file does not reside in the default file system. |
java.nio.file.Path |
getFileAsPath()
Gets the
Path object containing this Node . |
HdfFile |
getHdfFile()
Gets the parent
HdfFile of this node can be useful if you want to
resolve an absolute path in this file. |
java.lang.String |
getName()
Gets the name of this
Node |
Group |
getParent()
|
java.lang.String |
getPath()
Gets the absolute path within the file of this node including the nodes name.
|
NodeType |
getType()
Gets the type of this
Node . |
boolean |
isAttributeCreationOrderTracked()
If
true the insertion order of attributes is tracked (recorded)
in the file. |
boolean |
isGroup()
|
boolean |
isLink()
|
Group getParent()
java.lang.String getName()
Node
java.lang.String getPath()
java.util.Map<java.lang.String,Attribute> getAttributes()
Node
.Attribute getAttribute(java.lang.String name)
getAttributes()
.get(name).name
- of the requested attributenull
if not availableboolean isGroup()
true
if this node is a group false
otherwisejava.io.File getFile()
File
object containing this Node
.getFileAsPath()
instead if the file does not reside in the default file system.java.nio.file.Path getFileAsPath()
Path
object containing this Node
.HdfFile getHdfFile()
HdfFile
of this node can be useful if you want to
resolve an absolute path in this file.Node
long getAddress()
boolean isLink()
true
if this Node
is a link false
otherwiseboolean isAttributeCreationOrderTracked()
true
the insertion order of attributes is tracked (recorded)
in the file.true
if attribute creation order is tracked.