Package org.tigris.subversion.javahl
Class PropertyData
java.lang.Object
org.tigris.subversion.javahl.PropertyData
- Direct Known Subclasses:
JavaHLPropertyData
This class describes one property managed by Subversion.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate SVNClientInterface
reference to the creating SVNClient object to change or delete this propertyprivate byte[]
the byte array value of the propertystatic final String
how the end of line code should be treated during retrievalstatic final String
flag if the file should be made excutable during retrievalstatic final String
value for svn:executablestatic final String
list of directory managed outside of this working copystatic final String
list of filenames with wildcards which should be ignored by add and statusstatic final String
list of keywords to be expanded during retrievalstatic final String
mime type of the entry, used to flag binary filesprivate String
the name of the propertystatic final String
private String
path of the subversion to change or delete this propertystatic final String
the author of the revisionstatic final String
the date of the revisionstatic final String
the log message of the revisionstatic final String
the original date of the revisionprivate String
the string value of the property -
Constructor Summary
ConstructorsConstructorDescriptionPropertyData
(String p, String n, String v) this contructor is used when building a thin wrapper around other property retrieval methodsPropertyData
(SVNClientInterface cl, String p, String n, String v, byte[] d) this constructor is only used by the JNI code -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getData()
Returns the byte array value of the property There is no protocol if a property is a string or a binary valuegetName()
Returns the name of the propertygetPath()
Return the path of the item which owns this propertygetValue()
Returns the string value of the property.void
remove
(boolean recurse) remove this property from subversionvoid
setValue
(byte[] newValue, boolean recurse) modify the byte array value of a property The string array value is clearedvoid
modify the string value of a property The byte array value is cleared
-
Field Details
-
name
the name of the property -
value
the string value of the property -
data
private byte[] datathe byte array value of the property -
path
path of the subversion to change or delete this property -
client
reference to the creating SVNClient object to change or delete this property -
MIME_TYPE
mime type of the entry, used to flag binary files- See Also:
-
IGNORE
list of filenames with wildcards which should be ignored by add and status- See Also:
-
EOL_STYLE
how the end of line code should be treated during retrieval- See Also:
-
KEYWORDS
list of keywords to be expanded during retrieval- See Also:
-
EXECUTABLE
flag if the file should be made excutable during retrieval- See Also:
-
EXECUTABLE_VALUE
value for svn:executable- See Also:
-
EXTERNALS
list of directory managed outside of this working copy- See Also:
-
REV_AUTHOR
the author of the revision- See Also:
-
REV_LOG
the log message of the revision- See Also:
-
REV_DATE
the date of the revision- See Also:
-
REV_ORIGINAL_DATE
the original date of the revision- See Also:
-
NEEDS_LOCK
- Since:
- 1.2 flag property if a lock is needed to modify this node
- See Also:
-
-
Constructor Details
-
PropertyData
PropertyData(SVNClientInterface cl, String p, String n, String v, byte[] d) this constructor is only used by the JNI code- Parameters:
cl
- the client object, which created this objectp
- the path of the item owning this propertyn
- the name of the propertyv
- the string value of the propertyd
- the byte array value of the property
-
PropertyData
this contructor is used when building a thin wrapper around other property retrieval methods- Parameters:
p
- the path of the item owning this propertyn
- the name of the propertyv
- the string value of the property
-
-
Method Details
-
getName
Returns the name of the property- Returns:
- the name
-
getValue
Returns the string value of the property. There is no protocol if a property is a string or a binary value- Returns:
- the string value
-
getPath
Return the path of the item which owns this property- Returns:
- the path
-
getData
public byte[] getData()Returns the byte array value of the property There is no protocol if a property is a string or a binary value- Returns:
- the byte array value
-
setValue
modify the string value of a property The byte array value is cleared- Parameters:
newValue
- the new string valuerecurse
- if operation should recurse directories- Throws:
ClientException
-
setValue
modify the byte array value of a property The string array value is cleared- Parameters:
newValue
- the new byte array valuerecurse
- if operation should recurse directories- Throws:
ClientException
-
remove
remove this property from subversion- Parameters:
recurse
- if operation should recurse directories- Throws:
ClientException
-