Class SVNWCProperties
java.lang.Object
org.tmatesoft.svn.core.internal.wc.SVNWCProperties
public class SVNWCProperties
extends java.lang.Object
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate java.io.Fileprivate java.lang.Stringstatic final java.lang.String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidappendProperty(java.lang.String name, SVNPropertyValue value, java.io.OutputStream target) static voidappendPropertyDeleted(java.lang.String name, java.io.OutputStream target) asMap()compareTo(SVNWCProperties properties) booleancompareTo(SVNWCProperties properties, ISVNPropertyComparator comparator) private static booleancopyProperties(java.io.InputStream is, java.io.OutputStream os, java.lang.String name, java.io.InputStream value, int length) java.io.FilegetFile()java.lang.StringgetPath()java.lang.StringgetPropertyValue(java.lang.String name) java.io.OutputStreamgetPropertyValue(java.lang.String name, java.io.OutputStream os) booleanisEmpty()java.util.Collectionproperties(java.util.Collection target) private static intreadLength(java.io.InputStream is, char type) private static booleanreadProperty(char type, java.io.InputStream is, java.io.OutputStream os) voidsetProperties(SVNProperties properties) static voidsetProperties(SVNProperties namesToValues, java.io.File target, java.io.File tmpFile, java.lang.String terminator) static voidsetProperties(SVNProperties namesToValues, java.io.OutputStream target, java.lang.String terminator) voidsetPropertyValue(java.lang.String name, java.io.InputStream is, int length) voidsetPropertyValue(java.lang.String name, SVNPropertyValue value) private static voidwriteProperty(java.io.OutputStream os, char type, byte[] value) private static voidwriteProperty(java.io.OutputStream os, char type, java.io.InputStream value, int length) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
SVN_HASH_TERMINATOR
public static final java.lang.String SVN_HASH_TERMINATOR- See Also:
-
myFile
private java.io.File myFile -
myPath
private java.lang.String myPath
-
-
Constructor Details
-
SVNWCProperties
public SVNWCProperties(java.io.File properitesFile, java.lang.String path)
-
-
Method Details
-
getFile
public java.io.File getFile() -
getPath
public java.lang.String getPath() -
properties
- Throws:
SVNException
-
asMap
- Throws:
SVNException
-
compareTo
public boolean compareTo(SVNWCProperties properties, ISVNPropertyComparator comparator) throws SVNException - Throws:
SVNException
-
getPropertyValue
- Throws:
SVNException
-
getPropertyValue
public java.io.OutputStream getPropertyValue(java.lang.String name, java.io.OutputStream os) throws SVNException - Throws:
SVNException
-
setPropertyValue
- Throws:
SVNException
-
setPropertyValue
public void setPropertyValue(java.lang.String name, java.io.InputStream is, int length) throws SVNException - Throws:
SVNException
-
setProperties
- Throws:
SVNException
-
compareTo
- Throws:
SVNException
-
setProperties
public static void setProperties(SVNProperties namesToValues, java.io.File target, java.io.File tmpFile, java.lang.String terminator) throws SVNException - Throws:
SVNException
-
setProperties
public static void setProperties(SVNProperties namesToValues, java.io.OutputStream target, java.lang.String terminator) throws SVNException - Throws:
SVNException
-
appendProperty
public static void appendProperty(java.lang.String name, SVNPropertyValue value, java.io.OutputStream target) throws SVNException - Throws:
SVNException
-
appendPropertyDeleted
public static void appendPropertyDeleted(java.lang.String name, java.io.OutputStream target) throws SVNException - Throws:
SVNException
-
copyProperties
private static boolean copyProperties(java.io.InputStream is, java.io.OutputStream os, java.lang.String name, java.io.InputStream value, int length) throws SVNException - Throws:
SVNException
-
readProperty
private static boolean readProperty(char type, java.io.InputStream is, java.io.OutputStream os) throws java.io.IOException - Throws:
java.io.IOException
-
writeProperty
private static void writeProperty(java.io.OutputStream os, char type, byte[] value) throws java.io.IOException - Throws:
java.io.IOException
-
writeProperty
private static void writeProperty(java.io.OutputStream os, char type, java.io.InputStream value, int length) throws java.io.IOException - Throws:
java.io.IOException
-
readLength
private static int readLength(java.io.InputStream is, char type) throws java.io.IOException - Throws:
java.io.IOException
-
isEmpty
public boolean isEmpty()
-