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.File
private java.lang.String
static final java.lang.String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
appendProperty
(java.lang.String name, SVNPropertyValue value, java.io.OutputStream target) static void
appendPropertyDeleted
(java.lang.String name, java.io.OutputStream target) asMap()
compareTo
(SVNWCProperties properties) boolean
compareTo
(SVNWCProperties properties, ISVNPropertyComparator comparator) private static boolean
copyProperties
(java.io.InputStream is, java.io.OutputStream os, java.lang.String name, java.io.InputStream value, int length) java.io.File
getFile()
java.lang.String
getPath()
java.lang.String
getPropertyValue
(java.lang.String name) java.io.OutputStream
getPropertyValue
(java.lang.String name, java.io.OutputStream os) boolean
isEmpty()
java.util.Collection
properties
(java.util.Collection target) private static int
readLength
(java.io.InputStream is, char type) private static boolean
readProperty
(char type, java.io.InputStream is, java.io.OutputStream os) void
setProperties
(SVNProperties properties) static void
setProperties
(SVNProperties namesToValues, java.io.File target, java.io.File tmpFile, java.lang.String terminator) static void
setProperties
(SVNProperties namesToValues, java.io.OutputStream target, java.lang.String terminator) void
setPropertyValue
(java.lang.String name, java.io.InputStream is, int length) void
setPropertyValue
(java.lang.String name, SVNPropertyValue value) private static void
writeProperty
(java.io.OutputStream os, char type, byte[] value) private static void
writeProperty
(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()
-