org.apache.commons.configuration.plist
Class PropertyListParser
java.lang.Object
org.apache.commons.configuration.plist.PropertyListParser
- All Implemented Interfaces:
- PropertyListParserConstants
- class PropertyListParser
- extends Object
- implements PropertyListParserConstants
JavaCC based parser for the PropertyList format.
- Version:
- $Revision: 348244 $, $Date: 2005-11-22 21:40:57 +0100 (Di, 22 Nov 2005) $
- Author:
- Emmanuel Bourg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public PropertyListParserTokenManager token_source
jj_input_stream
SimpleCharStream jj_input_stream
token
public Token token
jj_nt
public Token jj_nt
EOF
public static final int EOF
- See Also:
- Constant Field Values
ARRAY_BEGIN
public static final int ARRAY_BEGIN
- See Also:
- Constant Field Values
ARRAY_END
public static final int ARRAY_END
- See Also:
- Constant Field Values
ARRAY_SEPARATOR
public static final int ARRAY_SEPARATOR
- See Also:
- Constant Field Values
DICT_BEGIN
public static final int DICT_BEGIN
- See Also:
- Constant Field Values
DICT_END
public static final int DICT_END
- See Also:
- Constant Field Values
DICT_SEPARATOR
public static final int DICT_SEPARATOR
- See Also:
- Constant Field Values
EQUAL
public static final int EQUAL
- See Also:
- Constant Field Values
DATA_START
public static final int DATA_START
- See Also:
- Constant Field Values
DATA_END
public static final int DATA_END
- See Also:
- Constant Field Values
QUOTE
public static final int QUOTE
- See Also:
- Constant Field Values
LETTER
public static final int LETTER
- See Also:
- Constant Field Values
WHITE
public static final int WHITE
- See Also:
- Constant Field Values
HEXA
public static final int HEXA
- See Also:
- Constant Field Values
DATA
public static final int DATA
- See Also:
- Constant Field Values
STRING
public static final int STRING
- See Also:
- Constant Field Values
QUOTED_STRING
public static final int QUOTED_STRING
- See Also:
- Constant Field Values
ESCAPED_QUOTE
public static final int ESCAPED_QUOTE
- See Also:
- Constant Field Values
DEFAULT
public static final int DEFAULT
- See Also:
- Constant Field Values
tokenImage
public static final String[] tokenImage
PropertyListParser
public PropertyListParser(InputStream stream)
PropertyListParser
public PropertyListParser(Reader stream)
removeQuotes
protected String removeQuotes(String s)
- Remove the quotes at the beginning and at the end of the specified String.
unescapeQuotes
protected String unescapeQuotes(String s)
filterData
protected byte[] filterData(String s)
throws ParseException
- Remove the white spaces and the data delimiters from the specified
string and parse it as a byte array.
- Throws:
ParseException
parse
public final PropertyListConfiguration parse()
throws ParseException
- Throws:
ParseException
Dictionary
public final PropertyListConfiguration Dictionary()
throws ParseException
- Throws:
ParseException
Property
public final HierarchicalConfiguration.Node Property()
throws ParseException
- Throws:
ParseException
Element
public final Object Element()
throws ParseException
- Throws:
ParseException
Array
public final List Array()
throws ParseException
- Throws:
ParseException
String
public final String String()
throws ParseException
- Throws:
ParseException
Data
public final byte[] Data()
throws ParseException
- Throws:
ParseException
generateParseException
public ParseException generateParseException()
Copyright © 2001-2006 The Apache Software Foundation. All Rights Reserved.