|
SVNKit Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tmatesoft.svn.core.wc.admin.SVNAdminPath
The SVNAdminPath is used to pass path information to ISVNHistoryHandler and ISVNTreeHandler
Constructor Summary | |
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 . |
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SVNAdminPath(String path, String nodeID, long revision)
ISVNHistoryHandler
.
path
- an absolute repository pathnodeID
- a node revision id (optional)revision
- a revisionpublic SVNAdminPath(String path, 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 String getNodeID()
ISVNTreeHandler
and ISVNHistoryHandler
.
public String getPath()
'/'
public long getRevision()
ISVNHistoryHandler
.
public int getTreeDepth()
"/"
starts
at depth 0. Depth is incremented with every
other segment of path.
This information is relevant only for
ISVNTreeHandler
.
|
SVNKit Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |