|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.srb.SRBNode
uk.ac.starlink.srb.SRBBranch
public class SRBBranch
Branch implemenatation based on an SRB file object.
Constructor Summary | |
---|---|
SRBBranch(edu.sdsc.grid.io.srb.SRBFile dir,
edu.sdsc.grid.io.srb.SRBFile root)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class uk.ac.starlink.srb.SRBNode |
---|
equals, getFile, getName, getParent, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface uk.ac.starlink.connect.Node |
---|
getName, getParent |
Constructor Detail |
---|
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.Method Detail |
---|
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 branch
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |