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.StringDEAFAULT_ERROR_TEMPLATEprivate static java.lang.StringDEFAULT_TEMPLATEprivate static java.lang.StringUTF8_CHARSET_STRING
-
Constructor Summary
Constructors Constructor Description SVNReader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleangetBoolean(java.util.List items, int index)static byte[]getBytes(java.util.List items, int index)static java.util.DategetDate(java.util.List items, int index)private static SVNErrorMessagegetErrorMessage(SVNItem item)private static java.util.ListgetItemList(java.util.List items, int index)static java.util.ListgetList(java.util.List items, int index)static SVNLockgetLock(java.util.Collection items)static longgetLong(java.util.List items, int index)static SVNPropertiesgetProperties(java.util.List items, int index, SVNProperties properties)static SVNPropertiesgetPropertyDiffs(java.util.List items, int index, SVNProperties diffs)static java.lang.StringgetString(java.util.List items, int index)static voidhandleFailureStatus(java.util.List list)static booleanhasValue(java.util.List items, int index, java.lang.Object value)static java.util.Listparse(java.io.InputStream is, java.lang.String template, java.util.List values)private static intparseTuple(java.lang.String template, int index, java.util.Collection items, java.util.List values)static java.util.ListparseTuple(java.lang.String template, java.util.Collection items, java.util.List values)private static charreadChar(java.io.InputStream is)static SVNItemreadItem(java.io.InputStream is)private static SVNItemreadItem(java.io.InputStream is, SVNItem item, char ch)static java.util.ListreadTuple(java.io.InputStream is, java.lang.String template)private static charskipWhiteSpace(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
-
-