org.tmatesoft.svn.core
public class SVNProperty extends Object
Version: 1.1.1
Field Summary | |
---|---|
static String | ABSENT
An "svn:entry:absent" SVN untweakable metaproperty. |
static String | CACHABLE_PROPS
"cachable-props" SVN untweakable metaproperty. |
static String | CHECKSUM
An "svn:entry:checksum" SVN untweakable metaproperty. |
static String | COMMITTED_DATE
An "svn:entry:committed-date" SVN untweakable metaproperty. |
static String | COMMITTED_REVISION
An "svn:entry:committed-rev" SVN untweakable metaproperty. |
static String | CONFLICT_NEW
An "svn:entry:conflict-new" SVN untweakable metaproperty. |
static String | CONFLICT_OLD
An "svn:entry:conflict-old" SVN untweakable metaproperty. |
static String | CONFLICT_WRK
An "svn:entry:conflict-wrk" SVN untweakable metaproperty. |
static String | COPIED
An "svn:entry:copied" SVN untweakable metaproperty. |
static String | COPYFROM_REVISION
An "svn:entry:copyfrom-rev" SVN untweakable metaproperty. |
static String | COPYFROM_URL
An "svn:entry:copyfrom-url" SVN untweakable metaproperty. |
static String | CORRUPTED
An "svn:entry:corrupted" SVN untweakable metaproperty. |
static String | DELETED
An "svn:entry:deleted" SVN untweakable metaproperty. |
static String | EOL_STYLE
An "svn:eol-style" SVN special property. |
static String | EOL_STYLE_CR
One of the four possible values of the EOL_STYLE property -
"CR" (linefeed) |
static String | EOL_STYLE_CRLF
One of the four possible values of the EOL_STYLE property -
"CRLF" |
static String | EOL_STYLE_LF
One of the four possible values of the EOL_STYLE property -
"LF" (line feed) |
static String | EOL_STYLE_NATIVE
One of the four possible values of the EOL_STYLE property -
"native" |
static String | EXECUTABLE
An "svn:executable" SVN special property. |
static String | EXTERNALS
An "svn:externals" SVN special property. |
static String | HAS_PROPS
"has-props" SVN untweakable metaproperty. |
static String | HAS_PROP_MODS
"has-prop-mods" SVN untweakable metaproperty. |
static String | IGNORE
An "svn:ignore" SVN special property. |
static String | INCOMPLETE
An "svn:entry:incomplete" SVN untweakable metaproperty. |
static String | KEYWORDS
An "svn:keywords" SVN special property. |
static String | KIND
An "svn:entry:kind" SVN untweakable metaproperty. |
static String | KIND_DIR
One of the two possible values of the KIND property -
"dir" |
static String | KIND_FILE
One of the two possible values of the KIND property -
"file" |
static String | LAST_AUTHOR
An "svn:entry:last-author" SVN untweakable metaproperty. |
static String | LOCK_COMMENT
An "svn:entry:lock-comment" SVN untweakable metaproperty. |
static String | LOCK_CREATION_DATE
An "svn:entry:lock-creation-date" SVN untweakable metaproperty. |
static String | LOCK_OWNER
An "svn:entry:lock-owner" SVN untweakable metaproperty. |
static String | LOCK_TOKEN
An "svn:entry:lock-token" SVN untweakable metaproperty. |
static String | MIME_TYPE
An "svn:mime-type" SVN special property. |
static String | NAME
An "svn:entry:name" SVN untweakable metaproperty. |
static String | NEEDS_LOCK
An "svn:needs-lock" SVN special property. |
static String | PRESENT_PROPS
"present-props" SVN untweakable metaproperty. |
static String | PROP_REJECT_FILE
An "svn:entry:prop-reject-file" SVN untweakable metaproperty. |
static String | PROP_TIME
An "svn:entry:prop-time" SVN untweakable metaproperty. |
static String | REPOS
An "svn:entry:repos" SVN untweakable metaproperty. |
static String | REVISION
An "svn:entry:revision" SVN untweakable metaproperty. |
static String | SCHEDULE
An "svn:entry:schedule" SVN untweakable metaproperty. |
static String | SCHEDULE_ADD
One of the three possible values of the SCHEDULE property -
"add" |
static String | SCHEDULE_DELETE
One of the three possible values of the SCHEDULE property -
"delete" |
static String | SCHEDULE_REPLACE
One of the three possible values of the SCHEDULE property -
"replace" |
static String | SPECIAL
An "svn:special" SVN special property. |
static String | SVN_ENTRY_PREFIX
An "svn:entry:" prefix. |
static String | SVN_PREFIX
An "svn:" prefix. |
static String | SVN_WC_PREFIX
An "svn:wc:" prefix. |
static String | TEXT_TIME
An "svn:entry:text-time" SVN untweakable metaproperty. |
static String | TXN_CHECK_LOCKS
A special property used in a commit transaction. |
static String | TXN_CHECK_OUT_OF_DATENESS
A special property used in a commit transaction. |
static String | URL
An "svn:entry:url" SVN untweakable metaproperty. |
static String | UUID
An "svn:entry:uuid" SVN untweakable metaproperty. |
static String | WC_URL
An "svn:wc:ra_dav:version-url" SVN untweakable metaproperty. |
Method Summary | |
---|---|
static boolean | booleanValue(String text)
Converts a string representation of a boolean value to boolean.
|
static byte[] | getEOLBytes(String eolType)
Returns eol-marker bytes according to the given eol type.
|
static String | getValueOfBooleanProperty(String propName)
Returns the value for such boolean properties as
"svn:executable", "svn:needs-lock"
and "svn:special".
|
static boolean | isBinaryMimeType(String mimeType)
Says if the given MIME-type corresponds to a binary (non-textual) type.
|
static boolean | isBooleanProperty(String propName)
Checks whether the property is boolean.
|
static boolean | isEntryProperty(String name)
Says if the given property name starts with the SVN_ENTRY_PREFIX
prefix.
|
static boolean | isRegularProperty(String name)
Checks if a property is regular. |
static boolean | isSVNProperty(String name)
Says if the given property name starts with the SVN_PREFIX
prefix.
|
static boolean | isTextMimeType(String mimeType)
Says if the given MIME-type corresponds to a text type.
|
static boolean | isWorkingCopyProperty(String name)
Says if the given property name starts with the SVN_WC_PREFIX
prefix.
|
static long | longValue(String text)
Converts a string representation of a numeric value to a long value.
|
static String | shortPropertyName(String longName)
Returns a short name for the given property name - that is
a name without any prefixes.
|
static String | toString(boolean b)
Converts a boolean value to a string representation.
|
static String | toString(long i)
Converts a long value to a string representation.
|
Since: 1.1, new in Subversion 1.4
Since: 1.1, new in Subversion 1.4
Since: 1.1, new in Subversion 1.4
Since: 1.1, new in Subversion 1.4
Parameters: text a string to convert to a boolean value
Returns: true if and only if
text
is not null
and is equal, ignoring case, to the string
"true"
Parameters: eolType a requested eol-marker type (platform specific)
Returns: null if eolType
is
null, or an array of bytes
for one of the four possible eol types
See Also: EOL_STYLE_CR EOL_STYLE_CRLF EOL_STYLE_LF EOL_STYLE_NATIVE
Parameters: propName a property name
Returns: the property value "*", or null if the property is not boolean
Since: 1.1
See Also: isBooleanProperty
Parameters: mimeType a value of a file MIME_TYPE property
Returns: true if mimeType
is not a text type
See Also: isTextMimeType
Parameters: propName a property name
Returns: true if boolean, otherwise false
Since: 1.1
Parameters: name a property name to check
Returns: true if name
is
not null and starts with
the SVN_ENTRY_PREFIX prefix, otherwise false
Parameters: name a property name
Returns: true if regular, otherwise false
Parameters: name a property name to check
Returns: true if name
is
not null and starts with
the SVN_PREFIX prefix, otherwise false
Parameters: mimeType a value of a file MIME_TYPE property
Returns: true if mimeType
is either null or is a text
type (starts with "text/")
See Also: isBinaryMimeType
Parameters: name a property name to check
Returns: true if name
is
not null and starts with
the SVN_WC_PREFIX prefix, otherwise false
Parameters: text a string to convert to a long value
Returns: a long representation of the given string; -1 is returned if the string can not be parsed
Parameters: longName a property name
Returns: a property short name
Parameters: b a boolean value
Returns: a string representation of b
Parameters: i a long value
Returns: a string representation of i