|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.www.webdav.DAVParser
public class DAVParser
Constructor Summary | |
---|---|
DAVParser()
|
Method Summary | |
---|---|
static java.lang.String |
decodeETag(java.lang.String encoded)
[ETag] -> ETag |
static java.lang.String |
decodeURL(java.lang.String encoded)
|
protected static void |
error(java.lang.String mth,
java.lang.String msg)
Emit an error. |
static int |
nextItem(byte[] buf,
org.w3c.www.webdav.ParseState ps)
Parse list of items, taking care of quotes and optional LWS. |
static int |
skipSpaces(byte[] buf,
org.w3c.www.webdav.ParseState ps)
Skip leading LWS, not including CR LF. |
static boolean |
startsWith(byte[] buf,
org.w3c.www.webdav.ParseState ps,
char c)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DAVParser()
Method Detail |
---|
protected static void error(java.lang.String mth, java.lang.String msg) throws HttpInvalidValueException
mth
- The method trigerring the error.msg
- An associated message.
HttpInvalidValueException
- To indicate the error to caller.public static final int skipSpaces(byte[] buf, org.w3c.www.webdav.ParseState ps)
buf
- The buffer to be parsed.ptr
- The buffer pointer to be updated on return.
public static final boolean startsWith(byte[] buf, org.w3c.www.webdav.ParseState ps, char c)
public static final int nextItem(byte[] buf, org.w3c.www.webdav.ParseState ps)
ps.start
value), or
-1 if no item available (end of list).public static final java.lang.String decodeURL(java.lang.String encoded) throws HttpInvalidValueException
HttpInvalidValueException
public static final java.lang.String decodeETag(java.lang.String encoded) throws HttpInvalidValueException
HttpInvalidValueException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |