org.tigris.subversion.javahl
Class PropertyData
java.lang.Object
org.tigris.subversion.javahl.PropertyData
public class PropertyData
extends java.lang.Object
this class describes one property managed by subversion
static String | EOL_STYLE - how the end of line code should be treated during retrieval
|
static String | EXECUTABLE - flag if the file should be made excutable during retrieval
|
static String | EXECUTABLE_VALUE - value for svn:executable
|
static String | EXTERNALS - list of directory managed outside of this working copy
|
static String | IGNORE - list of filenames with wildcards which should be ignored by add and
status
|
static String | KEYWORDS - list of keywords to be expanded during retrieval
|
static String | MIME_TYPE - mime type of the entry, used to flag binary files
|
static String | NEEDS_LOCK
|
static String | REV_AUTHOR - the author of the revision
|
static String | REV_DATE - the date of the revision
|
static String | REV_LOG - the log message of the revision
|
static String | REV_ORIGINAL_DATE - the original date of the revision
|
byte[] | getData() - Returns the byte array value of the property
There is no protocol if a property is a string or a binary value
|
String | getName() - Returns the name of the property
|
String | getPath() - Return the path of the item which owns this property
|
String | getValue() - Returns the string value of the property.
|
void | remove(boolean recurse) - remove this property from subversion
|
void | setValue(String newValue, boolean recurse) - modify the string value of a property
The byte array value is cleared
|
void | setValue(byte[] newValue, boolean recurse) - modify the byte array value of a property
The string array value is cleared
|
EOL_STYLE
public static final String EOL_STYLE
how the end of line code should be treated during retrieval
EXECUTABLE
public static final String EXECUTABLE
flag if the file should be made excutable during retrieval
EXECUTABLE_VALUE
public static final String EXECUTABLE_VALUE
value for svn:executable
EXTERNALS
public static final String EXTERNALS
list of directory managed outside of this working copy
IGNORE
public static final String IGNORE
list of filenames with wildcards which should be ignored by add and
status
KEYWORDS
public static final String KEYWORDS
list of keywords to be expanded during retrieval
MIME_TYPE
public static final String MIME_TYPE
mime type of the entry, used to flag binary files
NEEDS_LOCK
public static final String NEEDS_LOCK
- 1.2
flag property if a lock is needed to modify this node
REV_AUTHOR
public static final String REV_AUTHOR
the author of the revision
REV_DATE
public static final String REV_DATE
the date of the revision
REV_LOG
public static final String REV_LOG
the log message of the revision
REV_ORIGINAL_DATE
public static final String REV_ORIGINAL_DATE
the original date of the revision
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
getName
public String getName()
Returns the name of the property
getPath
public String getPath()
Return the path of the item which owns this property
getValue
public String getValue()
Returns the string value of the property.
There is no protocol if a property is a string or a binary value
remove
public void remove(boolean recurse)
throws ClientException
remove this property from subversion
recurse
- if operation should recurse directories
setValue
public void setValue(String newValue,
boolean recurse)
throws ClientException
modify the string value of a property
The byte array value is cleared
newValue
- the new string valuerecurse
- if operation should recurse directories
setValue
public void setValue(byte[] newValue,
boolean recurse)
throws ClientException
modify the byte array value of a property
The string array value is cleared
newValue
- the new byte array valuerecurse
- if operation should recurse directories