Java Doc for SVNProperty.java in  » Source-Control » tmatesoft-SVN » org » tmatesoft » svn » core » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Source Control » tmatesoft SVN » org.tmatesoft.svn.core 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.tmatesoft.svn.core.SVNProperty

SVNProperty
public class SVNProperty (Code)
The SVNProperty class is a representation class for both versioned properties (user-managed svn specials) and for metaproperties (untweakable) supported by Subversion. This class holds string constants that are property names, and gives some useful methods to operate with properties (in particular).
version:
   1.1.1
author:
   TMate Software Ltd.


Field Summary
final public static  StringABSENT
     An "svn:entry:absent" SVN untweakable metaproperty.
final public static  StringCACHABLE_PROPS
     "cachable-props" SVN untweakable metaproperty.
final public static  StringCHECKSUM
     An "svn:entry:checksum" SVN untweakable metaproperty.
final public static  StringCOMMITTED_DATE
     An "svn:entry:committed-date" SVN untweakable metaproperty.
final public static  StringCOMMITTED_REVISION
     An "svn:entry:committed-rev" SVN untweakable metaproperty.
final public static  StringCONFLICT_NEW
     An "svn:entry:conflict-new" SVN untweakable metaproperty.
final public static  StringCONFLICT_OLD
     An "svn:entry:conflict-old" SVN untweakable metaproperty.
final public static  StringCONFLICT_WRK
     An "svn:entry:conflict-wrk" SVN untweakable metaproperty.
final public static  StringCOPIED
     An "svn:entry:copied" SVN untweakable metaproperty.
final public static  StringCOPYFROM_REVISION
     An "svn:entry:copyfrom-rev" SVN untweakable metaproperty.
final public static  StringCOPYFROM_URL
     An "svn:entry:copyfrom-url" SVN untweakable metaproperty.
final public static  StringCORRUPTED
     An "svn:entry:corrupted" SVN untweakable metaproperty.
final public static  StringDELETED
     An "svn:entry:deleted" SVN untweakable metaproperty.
final public static  StringEOL_STYLE
     An "svn:eol-style" SVN special property.
final public static  StringEOL_STYLE_CR
    
final public static  StringEOL_STYLE_CRLF
    
final public static  StringEOL_STYLE_LF
    
final public static  StringEOL_STYLE_NATIVE
    
final public static  StringEXECUTABLE
     An "svn:executable" SVN special property.
final public static  StringEXTERNALS
     An "svn:externals" SVN special property.
final public static  StringHAS_PROPS
     "has-props" SVN untweakable metaproperty.
final public static  StringHAS_PROP_MODS
     "has-prop-mods" SVN untweakable metaproperty.
final public static  StringIGNORE
     An "svn:ignore" SVN special property.
final public static  StringINCOMPLETE
     An "svn:entry:incomplete" SVN untweakable metaproperty.
final public static  StringKEYWORDS
     An "svn:keywords" SVN special property.
final public static  StringKIND
     An "svn:entry:kind" SVN untweakable metaproperty.
final public static  StringKIND_DIR
    
final public static  StringKIND_FILE
    
final public static  StringLAST_AUTHOR
     An "svn:entry:last-author" SVN untweakable metaproperty.
final public static  StringLOCK_COMMENT
     An "svn:entry:lock-comment" SVN untweakable metaproperty.
final public static  StringLOCK_CREATION_DATE
     An "svn:entry:lock-creation-date" SVN untweakable metaproperty.
final public static  StringLOCK_OWNER
     An "svn:entry:lock-owner" SVN untweakable metaproperty.
final public static  StringLOCK_TOKEN
     An "svn:entry:lock-token" SVN untweakable metaproperty.
final public static  StringMIME_TYPE
     An "svn:mime-type" SVN special property.
final public static  StringNAME
     An "svn:entry:name" SVN untweakable metaproperty.
final public static  StringNEEDS_LOCK
     An "svn:needs-lock" SVN special property.
final public static  StringPRESENT_PROPS
     "present-props" SVN untweakable metaproperty.
final public static  StringPROP_REJECT_FILE
     An "svn:entry:prop-reject-file" SVN untweakable metaproperty.
final public static  StringPROP_TIME
     An "svn:entry:prop-time" SVN untweakable metaproperty.
final public static  StringREPOS
     An "svn:entry:repos" SVN untweakable metaproperty.
final public static  StringREVISION
     An "svn:entry:revision" SVN untweakable metaproperty.
final public static  StringSCHEDULE
     An "svn:entry:schedule" SVN untweakable metaproperty.
final public static  StringSCHEDULE_ADD
    
final public static  StringSCHEDULE_DELETE
    
final public static  StringSCHEDULE_REPLACE
    
final public static  StringSPECIAL
     An "svn:special" SVN special property.
final public static  StringSVN_ENTRY_PREFIX
     An "svn:entry:" prefix.
final public static  StringSVN_PREFIX
     An "svn:" prefix.
final public static  StringSVN_WC_PREFIX
     An "svn:wc:" prefix.
final public static  StringTEXT_TIME
     An "svn:entry:text-time" SVN untweakable metaproperty.
final public static  StringTXN_CHECK_LOCKS
     A special property used in a commit transaction.
final public static  StringTXN_CHECK_OUT_OF_DATENESS
     A special property used in a commit transaction.
final public static  StringURL
     An "svn:entry:url" SVN untweakable metaproperty.
final public static  StringUUID
     An "svn:entry:uuid" SVN untweakable metaproperty.
final public static  StringWC_URL
     An "svn:wc:ra_dav:version-url" SVN untweakable metaproperty.


Method Summary
public static  booleanbooleanValue(String text)
     Converts a string representation of a boolean value to boolean.
public static  byte[]getEOLBytes(String eolType)
     Returns eol-marker bytes according to the given eol type.
public static  StringgetValueOfBooleanProperty(String propName)
     Returns the value for such boolean properties as "svn:executable", "svn:needs-lock" and "svn:special".
public static  booleanisBinaryMimeType(String mimeType)
     Says if the given MIME-type corresponds to a binary (non-textual) type.
public static  booleanisBooleanProperty(String propName)
     Checks whether the property is boolean.
public static  booleanisEntryProperty(String name)
     Says if the given property name starts with the SVNProperty.SVN_ENTRY_PREFIX prefix.
public static  booleanisRegularProperty(String name)
     Checks if a property is regular.
public static  booleanisSVNProperty(String name)
     Says if the given property name starts with the SVNProperty.SVN_PREFIX prefix.
public static  booleanisTextMimeType(String mimeType)
     Says if the given MIME-type corresponds to a text type.
public static  booleanisWorkingCopyProperty(String name)
     Says if the given property name starts with the SVNProperty.SVN_WC_PREFIX prefix.
public static  longlongValue(String text)
     Converts a string representation of a numeric value to a long value.
public static  StringshortPropertyName(String longName)
     Returns a short name for the given property name - that is a name without any prefixes.
public static  StringtoString(boolean b)
     Converts a boolean value to a string representation.
public static  StringtoString(long i)
     Converts a long value to a string representation.

Field Detail
ABSENT
final public static String ABSENT(Code)
An "svn:entry:absent" SVN untweakable metaproperty.



CACHABLE_PROPS
final public static String CACHABLE_PROPS(Code)
"cachable-props" SVN untweakable metaproperty.
since:
   1.1, new in Subversion 1.4



CHECKSUM
final public static String CHECKSUM(Code)
An "svn:entry:checksum" SVN untweakable metaproperty.



COMMITTED_DATE
final public static String COMMITTED_DATE(Code)
An "svn:entry:committed-date" SVN untweakable metaproperty.



COMMITTED_REVISION
final public static String COMMITTED_REVISION(Code)
An "svn:entry:committed-rev" SVN untweakable metaproperty.



CONFLICT_NEW
final public static String CONFLICT_NEW(Code)
An "svn:entry:conflict-new" SVN untweakable metaproperty.



CONFLICT_OLD
final public static String CONFLICT_OLD(Code)
An "svn:entry:conflict-old" SVN untweakable metaproperty.



CONFLICT_WRK
final public static String CONFLICT_WRK(Code)
An "svn:entry:conflict-wrk" SVN untweakable metaproperty.



COPIED
final public static String COPIED(Code)
An "svn:entry:copied" SVN untweakable metaproperty.



COPYFROM_REVISION
final public static String COPYFROM_REVISION(Code)
An "svn:entry:copyfrom-rev" SVN untweakable metaproperty.



COPYFROM_URL
final public static String COPYFROM_URL(Code)
An "svn:entry:copyfrom-url" SVN untweakable metaproperty.



CORRUPTED
final public static String CORRUPTED(Code)
An "svn:entry:corrupted" SVN untweakable metaproperty.



DELETED
final public static String DELETED(Code)
An "svn:entry:deleted" SVN untweakable metaproperty.



EOL_STYLE
final public static String EOL_STYLE(Code)
An "svn:eol-style" SVN special property.



EOL_STYLE_CR
final public static String EOL_STYLE_CR(Code)
One of the four possible values of the SVNProperty.EOL_STYLE property - "CR" (linefeed)



EOL_STYLE_CRLF
final public static String EOL_STYLE_CRLF(Code)
One of the four possible values of the SVNProperty.EOL_STYLE property - "CRLF"



EOL_STYLE_LF
final public static String EOL_STYLE_LF(Code)
One of the four possible values of the SVNProperty.EOL_STYLE property - "LF" (line feed)



EOL_STYLE_NATIVE
final public static String EOL_STYLE_NATIVE(Code)
One of the four possible values of the SVNProperty.EOL_STYLE property - "native"



EXECUTABLE
final public static String EXECUTABLE(Code)
An "svn:executable" SVN special property.



EXTERNALS
final public static String EXTERNALS(Code)
An "svn:externals" SVN special property.



HAS_PROPS
final public static String HAS_PROPS(Code)
"has-props" SVN untweakable metaproperty.
since:
   1.1, new in Subversion 1.4



HAS_PROP_MODS
final public static String HAS_PROP_MODS(Code)
"has-prop-mods" SVN untweakable metaproperty.
since:
   1.1, new in Subversion 1.4



IGNORE
final public static String IGNORE(Code)
An "svn:ignore" SVN special property.



INCOMPLETE
final public static String INCOMPLETE(Code)
An "svn:entry:incomplete" SVN untweakable metaproperty.



KEYWORDS
final public static String KEYWORDS(Code)
An "svn:keywords" SVN special property.



KIND
final public static String KIND(Code)
An "svn:entry:kind" SVN untweakable metaproperty.



KIND_DIR
final public static String KIND_DIR(Code)
One of the two possible values of the SVNProperty.KIND property - "dir"



KIND_FILE
final public static String KIND_FILE(Code)
One of the two possible values of the SVNProperty.KIND property - "file"



LAST_AUTHOR
final public static String LAST_AUTHOR(Code)
An "svn:entry:last-author" SVN untweakable metaproperty.



LOCK_COMMENT
final public static String LOCK_COMMENT(Code)
An "svn:entry:lock-comment" SVN untweakable metaproperty.



LOCK_CREATION_DATE
final public static String LOCK_CREATION_DATE(Code)
An "svn:entry:lock-creation-date" SVN untweakable metaproperty.



LOCK_OWNER
final public static String LOCK_OWNER(Code)
An "svn:entry:lock-owner" SVN untweakable metaproperty.



LOCK_TOKEN
final public static String LOCK_TOKEN(Code)
An "svn:entry:lock-token" SVN untweakable metaproperty.



MIME_TYPE
final public static String MIME_TYPE(Code)
An "svn:mime-type" SVN special property.



NAME
final public static String NAME(Code)
An "svn:entry:name" SVN untweakable metaproperty.



NEEDS_LOCK
final public static String NEEDS_LOCK(Code)
An "svn:needs-lock" SVN special property.



PRESENT_PROPS
final public static String PRESENT_PROPS(Code)
"present-props" SVN untweakable metaproperty.
since:
   1.1, new in Subversion 1.4



PROP_REJECT_FILE
final public static String PROP_REJECT_FILE(Code)
An "svn:entry:prop-reject-file" SVN untweakable metaproperty.



PROP_TIME
final public static String PROP_TIME(Code)
An "svn:entry:prop-time" SVN untweakable metaproperty.



REPOS
final public static String REPOS(Code)
An "svn:entry:repos" SVN untweakable metaproperty.



REVISION
final public static String REVISION(Code)
An "svn:entry:revision" SVN untweakable metaproperty.



SCHEDULE
final public static String SCHEDULE(Code)
An "svn:entry:schedule" SVN untweakable metaproperty.



SCHEDULE_ADD
final public static String SCHEDULE_ADD(Code)
One of the three possible values of the SVNProperty.SCHEDULE property - "add"



SCHEDULE_DELETE
final public static String SCHEDULE_DELETE(Code)
One of the three possible values of the SVNProperty.SCHEDULE property - "delete"



SCHEDULE_REPLACE
final public static String SCHEDULE_REPLACE(Code)
One of the three possible values of the SVNProperty.SCHEDULE property - "replace"



SPECIAL
final public static String SPECIAL(Code)
An "svn:special" SVN special property.



SVN_ENTRY_PREFIX
final public static String SVN_ENTRY_PREFIX(Code)
An "svn:entry:" prefix.



SVN_PREFIX
final public static String SVN_PREFIX(Code)
An "svn:" prefix.



SVN_WC_PREFIX
final public static String SVN_WC_PREFIX(Code)
An "svn:wc:" prefix.



TEXT_TIME
final public static String TEXT_TIME(Code)
An "svn:entry:text-time" SVN untweakable metaproperty.



TXN_CHECK_LOCKS
final public static String TXN_CHECK_LOCKS(Code)
A special property used in a commit transaction.



TXN_CHECK_OUT_OF_DATENESS
final public static String TXN_CHECK_OUT_OF_DATENESS(Code)
A special property used in a commit transaction.



URL
final public static String URL(Code)
An "svn:entry:url" SVN untweakable metaproperty.



UUID
final public static String UUID(Code)
An "svn:entry:uuid" SVN untweakable metaproperty.



WC_URL
final public static String WC_URL(Code)
An "svn:wc:ra_dav:version-url" SVN untweakable metaproperty.





Method Detail
booleanValue
public static boolean booleanValue(String text)(Code)
Converts a string representation of a boolean value to boolean. Useful to convert values of the SVNProperty.COPIED property.
Parameters:
  text - a string to convert to a boolean value true if and only iftext is not nulland is equal, ignoring case, to the string "true"



getEOLBytes
public static byte[] getEOLBytes(String eolType)(Code)
Returns eol-marker bytes according to the given eol type.
Parameters:
  eolType - a requested eol-marker type (platform specific) null if eolType isnull, or an array of bytes for one of the four possible eol types
See Also:   SVNProperty.EOL_STYLE_CR
See Also:   SVNProperty.EOL_STYLE_CRLF
See Also:   SVNProperty.EOL_STYLE_LF
See Also:   SVNProperty.EOL_STYLE_NATIVE



getValueOfBooleanProperty
public static String getValueOfBooleanProperty(String propName)(Code)
Returns the value for such boolean properties as "svn:executable", "svn:needs-lock" and "svn:special". Used by internals.
Parameters:
  propName - a property name the property value "*", or null if the property is not boolean
See Also:   SVNProperty.isBooleanProperty(String)
since:
   1.1



isBinaryMimeType
public static boolean isBinaryMimeType(String mimeType)(Code)
Says if the given MIME-type corresponds to a binary (non-textual) type.
Parameters:
  mimeType - a value of a file SVNProperty.MIME_TYPE property true if mimeTypeis not a text type
See Also:   SVNProperty.isTextMimeType(String)
See Also:   



isBooleanProperty
public static boolean isBooleanProperty(String propName)(Code)
Checks whether the property is boolean.
Parameters:
  propName - a property name true if boolean, otherwise false
since:
   1.1



isEntryProperty
public static boolean isEntryProperty(String name)(Code)
Says if the given property name starts with the SVNProperty.SVN_ENTRY_PREFIX prefix.
Parameters:
  name - a property name to check true if name isnot null and starts withthe SVNProperty.SVN_ENTRY_PREFIX prefix, otherwise false



isRegularProperty
public static boolean isRegularProperty(String name)(Code)
Checks if a property is regular. Regular are some "svn:" properties and all user props, i.e. ones stored in the repository filesystem.
Parameters:
  name - a property name true if regular, otherwise false



isSVNProperty
public static boolean isSVNProperty(String name)(Code)
Says if the given property name starts with the SVNProperty.SVN_PREFIX prefix.
Parameters:
  name - a property name to check true if name isnot null and starts withthe SVNProperty.SVN_PREFIX prefix, otherwise false



isTextMimeType
public static boolean isTextMimeType(String mimeType)(Code)
Says if the given MIME-type corresponds to a text type.
Parameters:
  mimeType - a value of a file SVNProperty.MIME_TYPE property true if mimeTypeis either null or is a texttype (starts with "text/")
See Also:   SVNProperty.isBinaryMimeType(String)
See Also:   



isWorkingCopyProperty
public static boolean isWorkingCopyProperty(String name)(Code)
Says if the given property name starts with the SVNProperty.SVN_WC_PREFIX prefix.
Parameters:
  name - a property name to check true if name isnot null and starts withthe SVNProperty.SVN_WC_PREFIX prefix, otherwise false



longValue
public static long longValue(String text)(Code)
Converts a string representation of a numeric value to a long value. Useful to convert revision numbers.
Parameters:
  text - a string to convert to a long value a long representation of the given string; -1 is returned if the string can not be parsed



shortPropertyName
public static String shortPropertyName(String longName)(Code)
Returns a short name for the given property name - that is a name without any prefixes.
Parameters:
  longName - a property name a property short name



toString
public static String toString(boolean b)(Code)
Converts a boolean value to a string representation. Useful to convert values of the SVNProperty.COPIED property.
Parameters:
  b - a boolean value a string representation of b



toString
public static String toString(long i)(Code)
Converts a long value to a string representation. Useful to convert revision numbers.
Parameters:
  i - a long value a string representation of i



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.