| java.lang.Object org.w3c.www.webdav.DAVParser
DAVParser | public class DAVParser (Code) | | version: $Revision: 1.4 $ author: Benoît Mahé (bmahe@w3.org) |
Method Summary | |
final public static String | decodeETag(String encoded) | final public static String | decodeURL(String encoded) | protected static void | error(String mth, String msg) Emit an error. | final public static int | nextItem(byte buf, ParseState ps) Parse list of items, taking care of quotes and optional LWS.
The output offset points to the next element of the list.
The starting location (i.e. | final public static int | skipSpaces(byte buf, ParseState ps) Skip leading LWS, not including CR LF.
Update the input offset, after any leading space.
Parameters: buf - The buffer to be parsed. Parameters: ptr - The buffer pointer to be updated on return. | final public static boolean | startsWith(byte buf, ParseState ps, char c) |
nextItem | final public static int nextItem(byte buf, ParseState ps)(Code) | | Parse list of items, taking care of quotes and optional LWS.
The output offset points to the next element of the list.
The starting location (i.e. ps.start value), or-1 if no item available (end of list). |
skipSpaces | final public static int skipSpaces(byte buf, ParseState ps)(Code) | | Skip leading LWS, not including CR LF.
Update the input offset, after any leading space.
Parameters: buf - The buffer to be parsed. Parameters: ptr - The buffer pointer to be updated on return. The potentially advanced buffer input offset. |
startsWith | final public static boolean startsWith(byte buf, ParseState ps, char c)(Code) | | |
|
|