Package org.tmatesoft.svn.core.wc
Class SVNPropertyData
java.lang.Object
org.tmatesoft.svn.core.wc.SVNPropertyData
SVNPropertyData is a wrapper for both versioned and unversioned
properties. This class represents the pair: property name - property value.
Property managing methods of the SVNWCClient class use
SVNPropertyData to wrap properties and dispatch them to
handleProperty() methods of ISVNPropertyHandler for processing
or simply return that 'properties object' as a target.
- Since:
- 1.2
- Version:
- 1.3
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSVNPropertyData
(String name, SVNPropertyValue data, ISVNOptions options) Constructs an SVNPropertyData given a property name and its value. -
Method Summary
-
Field Details
-
myValue
-
myName
-
-
Constructor Details
-
SVNPropertyData
Constructs an SVNPropertyData given a property name and its value.if
data
is not null, is astring
property andname
is ansvn-namespace
property name, thenoptions
, if not null, is used to translate the property value replacing all LF end of line markers in the property value with ones returned byISVNOptions.getNativeEOL()
. Otherwise, ifoptions
is null, the "line.separator" system property is used to retrieve a new EOL marker.- Parameters:
name
- a property namedata
- a property valueoptions
- provides EOL style information
-
-
Method Details
-
getName
Gets the name of the property represented by this SVNPropertyData object.- Returns:
- a property name
-
getValue
Gets the value of the property represented by this SVNPropertyData object.- Returns:
- a property value
-
hashCode
public int hashCode() -
equals
-