You are here

getChildByPath

getChildByPath gets the node object stored at the specified path relative to the folder object.

public Node getChildByPath(Folder folder, String relativePath)

public Node getChildByPath(Folder folder, String relativePath) returns the node at the path specified relative to the root folder.

Parameters

Folder folder
A folder object for which the child node will be returned.
String relativePath
A string representing the relative path specified from the root folder.

Returns

Returns a Node object representing the requested child node.

Exception

Throws an SkyVaultServiceException if the operation cannot be completed.

Example




      

public Node getChildByPath(String path)

public Node getChildByPath(String path) returns the node at the specified path.

Parameters

String path
A string representing the path from the root folder.

Returns

Returns a Node object representing the requested child node.

Exception

Throws an SkyVaultServiceException if the operation cannot be completed.

Example