public class XMLPropertyListParser extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
XMLPropertyListParser()
Instantiation is prohibited by outside classes.
|
protected XMLPropertyListParser()
public static NSObject parse(File f) throws ParseException, IOException, PropertyListFormatException, SAXException, ParserConfigurationException
f - The XML property list file.Exception - When an error occurs during parsing.ParseExceptionIOExceptionPropertyListFormatExceptionSAXExceptionParserConfigurationExceptionDocumentBuilder.parse(java.io.File)public static NSObject parse(byte[] bytes) throws ParserConfigurationException, ParseException, SAXException, PropertyListFormatException, IOException
bytes - The byte array containing the property list's data.Exception - When an error occurs during parsing.ParserConfigurationExceptionParseExceptionSAXExceptionPropertyListFormatExceptionIOExceptionpublic static NSObject parse(InputStream is) throws ParserConfigurationException, IOException, SAXException, PropertyListFormatException, ParseException
is - The input stream pointing to the property list's data.Exception - When an error occurs during parsing.ParserConfigurationExceptionIOExceptionSAXExceptionPropertyListFormatExceptionParseExceptionDocumentBuilder.parse(java.io.InputStream)Copyright © 2014. All Rights Reserved.