|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tmatesoft.svn.core.wc.admin.SVNAdminPath
public class SVNAdminPath
The SVNAdminPath is used to pass path information to ISVNHistoryHandler and ISVNTreeHandler
Constructor Summary | |
---|---|
SVNAdminPath(java.lang.String path,
java.lang.String nodeID,
int treeDepth,
boolean isDir)
Constructs a new instance of this class that is intended for ISVNTreeHandler . |
|
SVNAdminPath(java.lang.String path,
java.lang.String nodeID,
long revision)
Constructs a new instance of this class that is intended for ISVNHistoryHandler . |
Method Summary | |
---|---|
java.lang.String |
getNodeID()
Returns a node revision id. |
java.lang.String |
getPath()
Returns an absolute path. |
long |
getRevision()
Returns a revision number. |
int |
getTreeDepth()
Returns a tree depth for this path which is relative to the depth of the SVNLookClient.doGetTree(...) |
boolean |
isDir()
Says whether path is
a directory or a file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SVNAdminPath(java.lang.String path, java.lang.String nodeID, long revision)
ISVNHistoryHandler
.
path
- an absolute repository pathnodeID
- a node revision id (optional)revision
- a revisionpublic SVNAdminPath(java.lang.String path, java.lang.String nodeID, int treeDepth, boolean isDir)
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 fileMethod Detail |
---|
public boolean isDir()
path
is
a directory or a file. This information is
relevant only for ISVNTreeHandler
.
public java.lang.String getNodeID()
ISVNTreeHandler
and ISVNHistoryHandler
.
public java.lang.String getPath()
'/'
public long getRevision()
ISVNHistoryHandler
.
public int getTreeDepth()
SVNLookClient.doGetTree(...)
target path.
Target path which is passed to SVNLookClient.doGetTree(...)
starts
at depth 0. Then depth is incremented with every
other segment of path.
This information is relevant only for
ISVNTreeHandler
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |