org.tmatesoft.svn.core.wc.admin

Class SVNAdminPath


public class SVNAdminPath
extends Object

The SVNAdminPath is used to pass path information to ISVNHistoryHandler and ISVNTreeHandler
Version:
1.1.1
Author:
TMate Software Ltd.
Since:
1.1.1

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.

Constructor Details

SVNAdminPath

public SVNAdminPath(String path,
                    String nodeID,
                    int treeDepth,
                    boolean isDir)
Parameters:
path - an absolute repository path
nodeID - a node revision id (optional)
treeDepth - the depth at which path is located in the tree
isDir - says whether path is a directory or a file

SVNAdminPath

public SVNAdminPath(String path,
                    String nodeID,
                    long revision)
Parameters:
path - an absolute repository path
nodeID - a node revision id (optional)
revision - a revision

Method Details

getNodeID

public String getNodeID()
Returns:
a node revision id

getPath

public String getPath()
Returns an absolute path.
Returns:
an absolute path that starts with '/'

getRevision

public long getRevision()
Returns:
a revision number

getTreeDepth

public int getTreeDepth()
Returns:
a tree depth

isDir

public boolean isDir()
Returns:
true for a directory, false for a file

Copyright © 2004-2006 TMate Software Ltd. All Rights Reserved.