Class SVNReader
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.io.svn.SVNReader
-
public class SVNReader extends java.lang.Object
- Version:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
DEAFAULT_ERROR_TEMPLATE
private static java.lang.String
DEFAULT_TEMPLATE
private static java.lang.String
UTF8_CHARSET_STRING
-
Constructor Summary
Constructors Constructor Description SVNReader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
getBoolean(java.util.List items, int index)
static byte[]
getBytes(java.util.List items, int index)
static java.util.Date
getDate(java.util.List items, int index)
private static SVNErrorMessage
getErrorMessage(SVNItem item)
private static java.util.List
getItemList(java.util.List items, int index)
static java.util.List
getList(java.util.List items, int index)
static SVNLock
getLock(java.util.Collection items)
static long
getLong(java.util.List items, int index)
static SVNProperties
getProperties(java.util.List items, int index, SVNProperties properties)
static SVNProperties
getPropertyDiffs(java.util.List items, int index, SVNProperties diffs)
static java.lang.String
getString(java.util.List items, int index)
static void
handleFailureStatus(java.util.List list)
static boolean
hasValue(java.util.List items, int index, java.lang.Object value)
static java.util.List
parse(java.io.InputStream is, java.lang.String template, java.util.List values)
private static int
parseTuple(java.lang.String template, int index, java.util.Collection items, java.util.List values)
static java.util.List
parseTuple(java.lang.String template, java.util.Collection items, java.util.List values)
private static char
readChar(java.io.InputStream is)
static SVNItem
readItem(java.io.InputStream is)
private static SVNItem
readItem(java.io.InputStream is, SVNItem item, char ch)
static java.util.List
readTuple(java.io.InputStream is, java.lang.String template)
private static char
skipWhiteSpace(java.io.InputStream is)
-
-
-
Field Detail
-
DEAFAULT_ERROR_TEMPLATE
private static final java.lang.String DEAFAULT_ERROR_TEMPLATE
- See Also:
- Constant Field Values
-
DEFAULT_TEMPLATE
private static final java.lang.String DEFAULT_TEMPLATE
- See Also:
- Constant Field Values
-
UTF8_CHARSET_STRING
private static final java.lang.String UTF8_CHARSET_STRING
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDate
public static java.util.Date getDate(java.util.List items, int index)
-
getLong
public static long getLong(java.util.List items, int index)
-
getBoolean
public static boolean getBoolean(java.util.List items, int index)
-
getList
public static java.util.List getList(java.util.List items, int index)
-
getProperties
public static SVNProperties getProperties(java.util.List items, int index, SVNProperties properties) throws SVNException
- Throws:
SVNException
-
getPropertyDiffs
public static SVNProperties getPropertyDiffs(java.util.List items, int index, SVNProperties diffs) throws SVNException
- Throws:
SVNException
-
getLock
public static SVNLock getLock(java.util.Collection items) throws SVNException
- Throws:
SVNException
-
getString
public static java.lang.String getString(java.util.List items, int index)
-
getBytes
public static byte[] getBytes(java.util.List items, int index)
-
getItemList
private static java.util.List getItemList(java.util.List items, int index)
-
hasValue
public static boolean hasValue(java.util.List items, int index, java.lang.Object value)
-
readItem
public static SVNItem readItem(java.io.InputStream is) throws SVNException
- Throws:
SVNException
-
parse
public static java.util.List parse(java.io.InputStream is, java.lang.String template, java.util.List values) throws SVNException
- Throws:
SVNException
-
handleFailureStatus
public static void handleFailureStatus(java.util.List list) throws SVNException
- Throws:
SVNException
-
getErrorMessage
private static SVNErrorMessage getErrorMessage(SVNItem item) throws SVNException
- Throws:
SVNException
-
readTuple
public static java.util.List readTuple(java.io.InputStream is, java.lang.String template) throws SVNException
- Throws:
SVNException
-
parseTuple
public static java.util.List parseTuple(java.lang.String template, java.util.Collection items, java.util.List values) throws SVNException
- Throws:
SVNException
-
parseTuple
private static int parseTuple(java.lang.String template, int index, java.util.Collection items, java.util.List values) throws SVNException
- Throws:
SVNException
-
readItem
private static SVNItem readItem(java.io.InputStream is, SVNItem item, char ch) throws SVNException
- Throws:
SVNException
-
readChar
private static char readChar(java.io.InputStream is) throws SVNException
- Throws:
SVNException
-
skipWhiteSpace
private static char skipWhiteSpace(java.io.InputStream is) throws SVNException
- Throws:
SVNException
-
-