public class PropertyData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private SVNClientInterface |
client
reference to the creating SVNClient object to change or delete this
property
|
private byte[] |
data
the byte array value of the property
|
static java.lang.String |
EOL_STYLE
how the end of line code should be treated during retrieval
|
static java.lang.String |
EXECUTABLE
flag if the file should be made excutable during retrieval
|
static java.lang.String |
EXECUTABLE_VALUE
value for svn:executable
|
static java.lang.String |
EXTERNALS
list of directory managed outside of this working copy
|
static java.lang.String |
IGNORE
list of filenames with wildcards which should be ignored by add and
status
|
static java.lang.String |
KEYWORDS
list of keywords to be expanded during retrieval
|
static java.lang.String |
MIME_TYPE
mime type of the entry, used to flag binary files
|
private java.lang.String |
name
the name of the property
|
static java.lang.String |
NEEDS_LOCK |
private java.lang.String |
path
path of the subversion to change or delete this property
|
static java.lang.String |
REV_AUTHOR
the author of the revision
|
static java.lang.String |
REV_DATE
the date of the revision
|
static java.lang.String |
REV_LOG
the log message of the revision
|
static java.lang.String |
REV_ORIGINAL_DATE
the original date of the revision
|
private java.lang.String |
value
the string value of the property
|
Constructor and Description |
---|
PropertyData(java.lang.String p,
java.lang.String n,
java.lang.String v)
this contructor is used when building a thin wrapper around other
property retrieval methods
|
PropertyData(SVNClientInterface cl,
java.lang.String p,
java.lang.String n,
java.lang.String v,
byte[] d)
this constructor is only used by the JNI code
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Returns the byte array value of the property
There is no protocol if a property is a string or a binary value
|
java.lang.String |
getName()
Returns the name of the property
|
java.lang.String |
getPath()
Return the path of the item which owns this property
|
java.lang.String |
getValue()
Returns the string value of the property.
|
void |
remove(boolean recurse)
remove this property from subversion
|
void |
setValue(byte[] newValue,
boolean recurse)
modify the byte array value of a property
The string array value is cleared
|
void |
setValue(java.lang.String newValue,
boolean recurse)
modify the string value of a property
The byte array value is cleared
|
private java.lang.String name
private java.lang.String value
private byte[] data
private java.lang.String path
private SVNClientInterface client
public static final java.lang.String MIME_TYPE
public static final java.lang.String IGNORE
public static final java.lang.String EOL_STYLE
public static final java.lang.String KEYWORDS
public static final java.lang.String EXECUTABLE
public static final java.lang.String EXECUTABLE_VALUE
public static final java.lang.String EXTERNALS
public static final java.lang.String REV_AUTHOR
public static final java.lang.String REV_LOG
public static final java.lang.String REV_DATE
public static final java.lang.String REV_ORIGINAL_DATE
public static final java.lang.String NEEDS_LOCK
PropertyData(SVNClientInterface cl, java.lang.String p, java.lang.String n, java.lang.String v, byte[] d)
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 propertyPropertyData(java.lang.String p, java.lang.String n, java.lang.String v)
p
- the path of the item owning this propertyn
- the name of the propertyv
- the string value of the propertypublic java.lang.String getName()
public java.lang.String getValue()
public java.lang.String getPath()
public byte[] getData()
public void setValue(java.lang.String newValue, boolean recurse) throws ClientException
newValue
- the new string valuerecurse
- if operation should recurse directoriesClientException
public void setValue(byte[] newValue, boolean recurse) throws ClientException
newValue
- the new byte array valuerecurse
- if operation should recurse directoriesClientException
public void remove(boolean recurse) throws ClientException
recurse
- if operation should recurse directoriesClientException