Parser for ASCII property lists. Supports Apple OS X/iOS and GnuStep/NeXTSTEP format. This parser is based on the recursive descent paradigm, but the underlying grammar is not explicitely defined.
Resources on ASCII property list format:
https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/PropertyLists/OldStylePlists/OldStylePLists.html
Property List Programming Guide - Old-Style ASCII Property Lists
http://www.gnustep.org/resources/documentation/Developer/Base/Reference/NSPropertyList.html
GnuStep - NSPropertyListSerialization class documentation
See Also: Inherited members from object.
|
|
Documentation for this section has not yet been entered. |
|
const
|
ARRAY_BEGIN_TOKEN | char . Token of NSArray start |
|
const
|
ARRAY_END_TOKEN | char . Token of NSArray end |
|
const
|
ARRAY_ITEM_DELIMITER_TOKEN | char . Token of NSArray item delimiter |
|
const
|
COMMENT_BEGIN_TOKEN | char . Token for comment start |
|
const
|
DATA_BEGIN_TOKEN | char . Token of NSData start |
|
const
|
DATA_END_TOKEN | char . Token of NSData end |
|
const
|
DATA_GSBOOL_BEGIN_TOKEN | char . Token of GSBoolean start |
|
const
|
DATA_GSBOOL_FALSE_TOKEN | char . Token for GSBoolen's false |
|
const
|
DATA_GSBOOL_TRUE_TOKEN | char . Token for GSBoolen's true |
|
const
|
DATA_GSDATE_BEGIN_TOKEN | char . Token of GSDate start |
|
const
|
DATA_GSINT_BEGIN_TOKEN | char . Token for GSInteger |
|
const
|
DATA_GSOBJECT_BEGIN_TOKEN | char . Token of GSObject start |
|
const
|
DATA_GSREAL_BEGIN_TOKEN | char . Token for GSReal |
|
const
|
DATE_APPLE_DATE_TIME_DELIMITER | char . Token for NSDate date and time delimiter |
|
const
|
DATE_APPLE_END_TOKEN | char . Token for NSDate end |
|
const
|
DATE_DATE_FIELD_DELIMITER | char . Token for NSDate date field delimited |
|
const
|
DATE_GS_DATE_TIME_DELIMITER | char . Token for GSDate date and time delimiter |
|
const
|
DATE_TIME_FIELD_DELIMITER | char . Token for NSDate time field delimiter |
|
const
|
DICTIONARY_ASSIGN_TOKEN | char . Token of NSDictionary assignment |
|
const
|
DICTIONARY_BEGIN_TOKEN | char . Token of NSDictionary start |
|
const
|
DICTIONARY_END_TOKEN | char . Token of NSDictionary end |
|
const
|
DICTIONARY_ITEM_DELIMITER_TOKEN | char . Token of NSDictionary item delimiter |
|
const
|
MULTILINE_COMMENT_END_TOKEN | char . End token for multiline comment |
|
const
|
MULTILINE_COMMENT_SECOND_TOKEN | char . Second token for multiline comment |
|
const
|
QUOTEDSTRING_BEGIN_TOKEN | char . Token of quoted NSString start |
|
const
|
QUOTEDSTRING_END_TOKEN | char . Token of quoted NSString end |
|
const
|
QUOTEDSTRING_ESCAPE_TOKEN | char . Token of quoted NSString escaped character |
|
const
|
SINGLELINE_COMMENT_SECOND_TOKEN | char . Second token for singleline comment |
|
const
|
WHITESPACE_CARRIAGE_RETURN | char . A carriage return |
|
const
|
WHITESPACE_NEWLINE | char . A newline |
|
const
|
WHITESPACE_SPACE | char . A space |
|
const
|
WHITESPACE_TAB | char . A tabulator |
|
|
Parse
()Parses the property list from the beginning and returns the root object of the property list. |
|
|
static
|
Parse
(byte[])Parses an ASCII property list from a byte array. |
|
|
static
|
Parse
(System.IO.FileInfo)Parses an ASCII property list file. |
|
|
static
|
Parse
(System.IO.Stream)Parses an ASCII property list from an input stream. |
|
|
static
|
ParseQuotedString
(string)Parses a string according to the format specified for ASCII property lists. Such strings can contain escape sequences which are unescaped in this method. |
|
Documentation for this section has not yet been entered.Syntax
protected ASCIIPropertyListParser ()Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Token of NSArray startSyntax
public const char ARRAY_BEGIN_TOKENRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Token of NSArray endSyntax
public const char ARRAY_END_TOKENRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Token of NSArray item delimiterSyntax
public const char ARRAY_ITEM_DELIMITER_TOKENRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Token for comment startSyntax
public const char COMMENT_BEGIN_TOKENRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Token of NSData startSyntax
public const char DATA_BEGIN_TOKENRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Token of NSData endSyntax
public const char DATA_END_TOKENRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Token of GSBoolean startSyntax
public const char DATA_GSBOOL_BEGIN_TOKENRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Token for GSBoolen's falseSyntax
public const char DATA_GSBOOL_FALSE_TOKENRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Token for GSBoolen's trueSyntax
public const char DATA_GSBOOL_TRUE_TOKENRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Token of GSDate startSyntax
public const char DATA_GSDATE_BEGIN_TOKENRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Token for GSIntegerSyntax
public const char DATA_GSINT_BEGIN_TOKENRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Token of GSObject startSyntax
public const char DATA_GSOBJECT_BEGIN_TOKENRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Token for GSRealSyntax
public const char DATA_GSREAL_BEGIN_TOKENRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Token for NSDate date and time delimiterSyntax
public const char DATE_APPLE_DATE_TIME_DELIMITERRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Token for NSDate endSyntax
public const char DATE_APPLE_END_TOKENRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Token for NSDate date field delimitedSyntax
public const char DATE_DATE_FIELD_DELIMITERRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Token for GSDate date and time delimiterSyntax
public const char DATE_GS_DATE_TIME_DELIMITERRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Token for NSDate time field delimiterSyntax
public const char DATE_TIME_FIELD_DELIMITERRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Token of NSDictionary assignmentSyntax
public const char DICTIONARY_ASSIGN_TOKENRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Token of NSDictionary startSyntax
public const char DICTIONARY_BEGIN_TOKENRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Token of NSDictionary endSyntax
public const char DICTIONARY_END_TOKENRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Token of NSDictionary item delimiterSyntax
public const char DICTIONARY_ITEM_DELIMITER_TOKENRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
End token for multiline commentSyntax
public const char MULTILINE_COMMENT_END_TOKENRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Second token for multiline commentSyntax
public const char MULTILINE_COMMENT_SECOND_TOKENRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Parses the property list from the beginning and returns the root object of the property list.Syntax
public NSObject Parse ()Returns
The root object of the property list. This can either be a NSDictionary or a NSArray.Exceptions
Type Reason FormatException When an error occured during parsing Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Parses an ASCII property list from a byte array.Syntax
Parameters
- bytes
- The ASCII property list data.
Returns
The root object of the property list. This is usually a NSDictionary but can also be a NSArray.Exceptions
Type Reason FormatException When an error occurs during parsing. Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Parses an ASCII property list file.Syntax
public static NSObject Parse (System.IO.FileInfo f)Parameters
- f
- The ASCII property list file..
Returns
The root object of the property list. This is usually a NSDictionary but can also be a NSArray.Exceptions
Type Reason FormatException When an error occurs during parsing. System.IO.IOException When an error occured while reading from the input stream. Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Parses an ASCII property list from an input stream.Syntax
public static NSObject Parse (System.IO.Stream fs)Parameters
- fs
- The input stream that points to the property list's data.
Returns
The root object of the property list. This is usually a NSDictionary but can also be a NSArray.Exceptions
Type Reason FormatException When an error occurs during parsing. System.IO.IOException Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Parses a string according to the format specified for ASCII property lists. Such strings can contain escape sequences which are unescaped in this method.Syntax
Parameters
- s
- The escaped string according to the ASCII property list format, without leading and trailing quotation marks.
Returns
The unescaped string in UTF-8 or ASCII format, depending on the contained characters.Exceptions
Type Reason ArgumentException If the en-/decoder for the UTF-8 or ASCII encoding could not be loaded System.Text.EncoderFallbackException If the string is encoded neither in ASCII nor in UTF-8 Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Token of quoted NSString startSyntax
public const char QUOTEDSTRING_BEGIN_TOKENRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Token of quoted NSString endSyntax
public const char QUOTEDSTRING_END_TOKENRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Token of quoted NSString escaped characterSyntax
public const char QUOTEDSTRING_ESCAPE_TOKENRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Second token for singleline commentSyntax
public const char SINGLELINE_COMMENT_SECOND_TOKENRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
A carriage returnSyntax
public const char WHITESPACE_CARRIAGE_RETURNRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
A newlineSyntax
public const char WHITESPACE_NEWLINERemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
A spaceSyntax
public const char WHITESPACE_SPACERemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
A tabulatorSyntax
public const char WHITESPACE_TABRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0