public class XMLPropertyListParser extends Object
Modifier | Constructor and Description |
---|---|
protected |
XMLPropertyListParser()
Instantiation is prohibited by outside classes.
|
Modifier and Type | Method and Description |
---|---|
static NSObject |
parse(byte[] bytes)
Parses a XML property list from a byte array.
|
static NSObject |
parse(File f)
Parses a XML property list file.
|
static NSObject |
parse(InputStream is)
Parses a XML property list from an input stream.
|
protected XMLPropertyListParser()
public static NSObject parse(File f) throws ParseException, IOException, PropertyListFormatException, SAXException, ParserConfigurationException
f
- The XML property list file.ParseException
IOException
PropertyListFormatException
SAXException
ParserConfigurationException
DocumentBuilder.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.ParserConfigurationException
ParseException
SAXException
PropertyListFormatException
IOException
public static NSObject parse(InputStream is) throws ParserConfigurationException, IOException, SAXException, PropertyListFormatException, ParseException
is
- The input stream pointing to the property list's data.ParserConfigurationException
IOException
SAXException
PropertyListFormatException
ParseException
DocumentBuilder.parse(java.io.InputStream)
Copyright © 2014. All Rights Reserved.