| java.lang.Object org.tmatesoft.svn.core.io.SVNFileRevision
Constructor Summary | |
public | SVNFileRevision(String path, long revision, Map properties, Map propertiesDelta) Constructs an instance of SVNFileRevision. |
Method Summary | |
public int | compareTo(Object o) Compares this object with another one. | public String | getPath() Gets the file path (relative to a repository root URL). | public Map | getProperties() Returns revision properties. | public Map | getPropertiesDelta() Returns file properties for this file (for this revision).
Properties delta for a revision is the same as full properties for
that revision. | public long | getRevision() Gets the revision of the file. | public Map | getRevisionProperties() Returns revision properties. |
SVNFileRevision | public SVNFileRevision(String path, long revision, Map properties, Map propertiesDelta)(Code) | | Constructs an instance of SVNFileRevision.
Parameters: path - a file path relative to a repository location(a URL used to create an SVNRepository to access a repository) Parameters: revision - a revision of the file Parameters: properties - revision properties Parameters: propertiesDelta - file properties for the revision |
compareTo | public int compareTo(Object o)(Code) | | Compares this object with another one.
Parameters: o - an object to compare with - 1 - if
o is either null,or is not an instance of SVNFileRevision, or the revision value ofthis object is bigger than the one of o ; - -1 - if the revision value of this object is smaller than the one of
o ; - 0 - if and only if the revision values of this object and
o are the same (equal)
|
getPath | public String getPath()(Code) | | Gets the file path (relative to a repository root URL).
the path of the file See Also: SVNRepository |
getPropertiesDelta | public Map getPropertiesDelta()(Code) | | Returns file properties for this file (for this revision).
Properties delta for a revision is the same as full properties for
that revision.
a map where keys are file property names and values are theproperty values |
getRevision | public long getRevision()(Code) | | Gets the revision of the file.
the revision number of the file |
getRevisionProperties | public Map getRevisionProperties()(Code) | | Returns revision properties. Use
org.tmatesoft.svn.core.SVNRevisionProperty constants (they are revision property names) to retrieve values of the
corresponding properties.
a map which keys are revision property names and valuesare their values (both are strings) |
|
|