Constructor and Description |
---|
SRBBranch(edu.sdsc.grid.io.srb.SRBFile dir,
edu.sdsc.grid.io.srb.SRBFile root)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Node |
createNode(String location)
Attempts to construct a new node in the context of this one.
|
Node[] |
getChildren()
Returns the array of child nodes belonging to this branch.
|
equals, getFile, getName, getParent, hashCode, toString
public SRBBranch(edu.sdsc.grid.io.srb.SRBFile dir, edu.sdsc.grid.io.srb.SRBFile root)
dir
- SRB file object on which this branch is based - must be
of type directoryroot
- the root of the filesystem in which dir lives.public Node[] getChildren()
Branch
getChildren
in interface Branch
public Node createNode(String location)
Branch
Leaf.getOutputStream()
call may do so.
The returned node will typically be a child of this branch, but need not be, for instance if name is interpreted as an absolute path.
If the named node cannot be created, null may be returned.
createNode
in interface Branch
location
- name of a node in the context of this branchCopyright © 2023 Central Laboratory of the Research Councils. All Rights Reserved.