org.tmatesoft.svn.core.wc.admin
Class SVNAdminPath
public class SVNAdminPath
The SVNAdminPath is used to pass path information
to ISVNHistoryHandler and ISVNTreeHandler
SVNAdminPath(String path, String nodeID, int treeDepth, boolean isDir)- Constructs a new instance of this class
that is intended for
ISVNTreeHandler.
|
SVNAdminPath(String path, String nodeID, long revision)- Constructs a new instance of this class
that is intended for
ISVNHistoryHandler.
|
String | getNodeID()- Returns a node revision id.
|
String | getPath()- Returns an absolute path.
|
long | getRevision()- Returns a revision number.
|
int | getTreeDepth()- Returns a tree depth for this path.
|
boolean | isDir()- Says whether
path is
a directory or a file.
|
SVNAdminPath
public SVNAdminPath(String path,
String nodeID,
int treeDepth,
boolean isDir) Constructs a new instance of this class
that is intended for
ISVNTreeHandler.
path - an absolute repository pathnodeID - a node revision id (optional)treeDepth - the depth at which path
is located in the treeisDir - says whether path is
a directory or a file
SVNAdminPath
public SVNAdminPath(String path,
String nodeID,
long revision)path - an absolute repository pathnodeID - a node revision id (optional)revision - a revision
getNodeID
public String getNodeID()
getPath
public String getPath()
Returns an absolute path.
- an absolute path that starts with
'/'
getRevision
public long getRevision()
getTreeDepth
public int getTreeDepth()
Returns a tree depth for this path.
Repository root
"/" starts
at depth 0. Depth is incremented with every
other segment of path.
This information is relevant only for
ISVNTreeHandler.
isDir
public boolean isDir()
Says whether
path is
a directory or a file. This information is
relevant only for
ISVNTreeHandler.
- true for
a directory, false
for a file
Copyright © 2004-2006 TMate Software Ltd. All Rights Reserved.