public class SoftLink extends AbstractLink
Node
in the HDF5 file.name, parent, targetNode
Constructor and Description |
---|
SoftLink(java.lang.String target,
java.lang.String name,
Group parent) |
Modifier and Type | Method and Description |
---|---|
Node |
getTarget()
Resolves the link and returns the
Node the link points to. |
java.lang.String |
getTargetPath()
Gets the path this link points to, obtaining it will not require the link to
be resolved.
|
java.lang.String |
toString() |
getAddress, getAttribute, getAttributes, getFile, getFileAsPath, getHdfFile, getName, getParent, getPath, getType, isAttributeCreationOrderTracked, isBrokenLink, isGroup, isLink
public SoftLink(java.lang.String target, java.lang.String name, Group parent)
public Node getTarget()
Link
Node
the link points to. If
Link.isBrokenLink()
returns true
calling this method will
throw.Node
this link points topublic java.lang.String getTargetPath()
Link
public java.lang.String toString()
toString
in class java.lang.Object