org.tmatesoft.svn.core.io
public class SVNFileRevision extends Object implements Comparable
When getting a range of file revisions (in particular, annotating),
calling an SVNRepository's
getFileRevision()
SVNFileRevision objects are passed to an ISVNFileRevisionHandler's openRevision()
method.
Version: 1.1.1
See Also: SVNRepository ISVNFileRevisionHandler
Constructor Summary | |
---|---|
SVNFileRevision(String path, long revision, Map properties, Map propertiesDelta)
Constructs an instance of SVNFileRevision.
|
Method Summary | |
---|---|
int | compareTo(Object o)
Compares this object with another one.
|
String | getPath()
Gets the file path (relative to a repository root URL).
|
Map | getProperties()
Returns revision properties. |
Map | getPropertiesDelta()
Returns file properties for this file (for this revision).
|
long | getRevision()
Gets the revision of the file.
|
Map | getRevisionProperties()
Returns revision properties. |
Parameters: path a file path relative to a repository location
(a URL used to create an
SVNRepository to access a repository) revision a revision of the file properties revision properties propertiesDelta file properties for the revision
Parameters: o an object to compare with
Returns:
o
is either null,
or is not an instance of SVNFileRevision, or the revision value of
this object is bigger than the one of o
;
o
;
o
are the same (equal)
Returns: the path of the file
See Also: SVNRepository
Returns: a map which keys are revision property names and values are their values (both are strings)
Returns: a map where keys are file property names and values are the property values
Returns: the revision number of the file
Returns: a map which keys are revision property names and values are their values (both are strings)