public class SVNSkel extends 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) |
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
SVNException
public static SVNSkel parse(byte[] data, int offset, int length) throws SVNException
SVNException
public static SVNSkel parse(ByteBuffer buffer) throws SVNException
SVNException
public static SVNSkel parseList(ByteBuffer buffer) throws SVNException
SVNException
public static SVNSkel parseImplicitAtom(ByteBuffer buffer)
public static SVNSkel parseExplicitAtom(ByteBuffer buffer)
public static SVNSkel createAtom(byte[] data)
public static SVNSkel createAtom(byte[] data, int offset, int length)
public static SVNSkel createEmptyList()
public static SVNSkel createPropList(Map<String,SVNPropertyValue> props) throws SVNException
SVNException
public boolean isAtom()
public byte[] getData()
public SVNSkel first()
public SVNSkel next()
public SVNSkel getChild(int i) throws SVNException
SVNException
public void appendChild(SVNSkel child) throws SVNException
SVNException
public void prepend(SVNSkel child) throws SVNException
SVNException
public void prependString(String str) throws SVNException
SVNException
public void prependPropertyValue(SVNPropertyValue propertyValue) throws SVNException
SVNException
public void prependPath(File path) throws SVNException
SVNException
public int getListSize()
public String getValue()
public boolean contentEquals(String str)
public boolean containsAtomsOnly()
public boolean isValidPropList()
public Map<String,byte[]> parsePropList() throws SVNException
SVNException
public boolean isValidInheritedProperties()
public static SVNSkel createInheritedProperties(Map<String,SVNProperties> iprops) throws SVNException
SVNException
public List<Structure<StructureFields.InheritedProperties>> parseInheritedProperties() throws SVNException
SVNException
public byte[] unparse() throws SVNException
SVNException
public ByteBuffer writeTo(ByteBuffer buffer) throws SVNException
SVNException
public void removeChildren(Collection<SVNSkel> childrenToRemove)
public void removeAllChildren()
Copyright © 2023. All rights reserved.