public class SVNSkel
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static char |
TYPE_DIGIT |
static char |
TYPE_NAME |
static char |
TYPE_NOTHING |
static char |
TYPE_PAREN |
static char |
TYPE_SPACE |
| Modifier | Constructor and Description |
|---|---|
protected |
SVNSkel() |
protected |
SVNSkel(byte[] data) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendChild(SVNSkel child) |
boolean |
containsAtomsOnly() |
boolean |
contentEquals(java.lang.String str) |
static SVNSkel |
createAtom(byte[] data) |
static SVNSkel |
createAtom(byte[] data,
int offset,
int length) |
static SVNSkel |
createAtom(java.lang.String str) |
static SVNSkel |
createEmptyList() |
static SVNSkel |
createInheritedProperties(java.util.Map<java.lang.String,SVNProperties> iprops) |
static SVNSkel |
createPropList(java.util.Map<java.lang.String,SVNPropertyValue> props) |
SVNSkel |
first() |
SVNSkel |
getChild(int i) |
byte[] |
getData() |
java.util.List<SVNSkel> |
getList() |
int |
getListSize() |
static char |
getType(byte b) |
java.lang.String |
getValue() |
boolean |
isAtom() |
boolean |
isValidInheritedProperties() |
boolean |
isValidPropList() |
SVNSkel |
next() |
static SVNSkel |
parse(byte[] data) |
static SVNSkel |
parse(byte[] data,
int offset,
int length) |
static SVNSkel |
parse(java.nio.ByteBuffer buffer) |
static SVNSkel |
parseExplicitAtom(java.nio.ByteBuffer buffer) |
static SVNSkel |
parseImplicitAtom(java.nio.ByteBuffer buffer) |
java.util.List<Structure<StructureFields.InheritedProperties>> |
parseInheritedProperties() |
static SVNSkel |
parseList(java.nio.ByteBuffer buffer) |
java.util.Map<java.lang.String,byte[]> |
parsePropList() |
void |
prepend(SVNSkel child) |
void |
prependPath(java.io.File path) |
void |
prependPropertyValue(SVNPropertyValue propertyValue) |
void |
prependString(java.lang.String str) |
void |
removeAllChildren() |
void |
removeChildren(java.util.Collection<SVNSkel> childrenToRemove) |
java.lang.String |
toString() |
byte[] |
unparse() |
java.nio.ByteBuffer |
writeTo(java.nio.ByteBuffer buffer) |
public static final char TYPE_NOTHING
public static final char TYPE_SPACE
public static final char TYPE_DIGIT
public static final char TYPE_PAREN
public static final char TYPE_NAME
public static char getType(byte b)
public static SVNSkel parse(byte[] data) throws SVNException
SVNExceptionpublic static SVNSkel parse(byte[] data, int offset, int length) throws SVNException
SVNExceptionpublic static SVNSkel parse(java.nio.ByteBuffer buffer) throws SVNException
SVNExceptionpublic static SVNSkel parseList(java.nio.ByteBuffer buffer) throws SVNException
SVNExceptionpublic static SVNSkel parseImplicitAtom(java.nio.ByteBuffer buffer)
public static SVNSkel parseExplicitAtom(java.nio.ByteBuffer buffer)
public static SVNSkel createAtom(java.lang.String str)
public static SVNSkel createAtom(byte[] data)
public static SVNSkel createAtom(byte[] data, int offset, int length)
public static SVNSkel createEmptyList()
public static SVNSkel createPropList(java.util.Map<java.lang.String,SVNPropertyValue> props) throws SVNException
SVNExceptionpublic boolean isAtom()
public byte[] getData()
public java.util.List<SVNSkel> getList()
public SVNSkel first()
public SVNSkel next()
public SVNSkel getChild(int i) throws SVNException
SVNExceptionpublic void appendChild(SVNSkel child) throws SVNException
SVNExceptionpublic void prepend(SVNSkel child) throws SVNException
SVNExceptionpublic void prependString(java.lang.String str)
throws SVNException
SVNExceptionpublic void prependPropertyValue(SVNPropertyValue propertyValue) throws SVNException
SVNExceptionpublic void prependPath(java.io.File path)
throws SVNException
SVNExceptionpublic int getListSize()
public java.lang.String getValue()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean contentEquals(java.lang.String str)
public boolean containsAtomsOnly()
public boolean isValidPropList()
public java.util.Map<java.lang.String,byte[]> parsePropList()
throws SVNException
SVNExceptionpublic boolean isValidInheritedProperties()
public static SVNSkel createInheritedProperties(java.util.Map<java.lang.String,SVNProperties> iprops) throws SVNException
SVNExceptionpublic java.util.List<Structure<StructureFields.InheritedProperties>> parseInheritedProperties() throws SVNException
SVNExceptionpublic byte[] unparse()
throws SVNException
SVNExceptionpublic java.nio.ByteBuffer writeTo(java.nio.ByteBuffer buffer)
throws SVNException
SVNExceptionpublic void removeChildren(java.util.Collection<SVNSkel> childrenToRemove)
public void removeAllChildren()
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.