Class SVNWCProperties
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.wc.SVNWCProperties
-
public class SVNWCProperties extends java.lang.Object- Version:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.FilemyFileprivate java.lang.StringmyPathstatic java.lang.StringSVN_HASH_TERMINATOR
-
Constructor Summary
Constructors Constructor Description SVNWCProperties(java.io.File properitesFile, java.lang.String path)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidappendProperty(java.lang.String name, SVNPropertyValue value, java.io.OutputStream target)static voidappendPropertyDeleted(java.lang.String name, java.io.OutputStream target)SVNPropertiesasMap()SVNPropertiescompareTo(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)
-
-
-
Field Detail
-
SVN_HASH_TERMINATOR
public static final java.lang.String SVN_HASH_TERMINATOR
- See Also:
- Constant Field Values
-
myFile
private java.io.File myFile
-
myPath
private java.lang.String myPath
-
-
Method Detail
-
getFile
public java.io.File getFile()
-
getPath
public java.lang.String getPath()
-
properties
public java.util.Collection properties(java.util.Collection target) throws SVNException- Throws:
SVNException
-
asMap
public SVNProperties asMap() throws SVNException
- Throws:
SVNException
-
compareTo
public boolean compareTo(SVNWCProperties properties, ISVNPropertyComparator comparator) throws SVNException
- Throws:
SVNException
-
getPropertyValue
public java.lang.String getPropertyValue(java.lang.String name) throws SVNException- Throws:
SVNException
-
getPropertyValue
public java.io.OutputStream getPropertyValue(java.lang.String name, java.io.OutputStream os) throws SVNException- Throws:
SVNException
-
setPropertyValue
public void setPropertyValue(java.lang.String name, SVNPropertyValue value) throws SVNException- Throws:
SVNException
-
setPropertyValue
public void setPropertyValue(java.lang.String name, java.io.InputStream is, int length) throws SVNException- Throws:
SVNException
-
setProperties
public void setProperties(SVNProperties properties) throws SVNException
- Throws:
SVNException
-
compareTo
public SVNProperties compareTo(SVNWCProperties properties) throws SVNException
- 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()
-
-