The DOM returned by this reader is equivalent to the
DOM returned, if a PList file in XML format is parsed with
a standard DocumentBuilder.
Description about property list taken from Apple's online documentation:
"A property list is a data representation used by Mac OS X Cocoa and Core Foundation as a convenient way to store, organize, and access standard object types. Frequently called a plist, a property list is an object of one of several certain Cocoa or Core Foundation types, including arrays, dictionaries, strings, binary data, numbers, dates, and Boolean values. If the object is a container (an array or dictionary), all objects contained within it must also be supported property list objects. (Arrays and dictionaries can contain objects not supported by the architecture, but are then not property lists, and cannot be saved and restored with the various property list methods.)"
- Author:
- Werner Randelshofer
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BinaryPListParser
public BinaryPListParser()Creates a new instance.
-
-
Method Details
-
parse
Parses a binary PList file and turns it into a DOM. The Document is equivalent with a XML PList file parsed using a standardDocumentBuilder.- Parameters:
file- A file containing a binary PList.- Returns:
- Returns the parsed Element.
- Throws:
IOException
-