| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static void | convertToASCII(File
The source file. in, File The target file. If the file's parent directory does not exist, it will be created. out)
Deprecated
Use
PropertyListConverter instead.
Converts a given property list file into ASCII format. |
| public static void | convertToBinary(File
The source file. in, File The target file. If the output file's parent directory does not exist, it will be created. out)
Deprecated
Use
PropertyListConverter instead.
Converts a given property list file into the OS X and iOS binary format. |
| public static void | convertToGnuStepASCII(File
The source file. in, File The target file. out)
Deprecated
Use
PropertyListConverter instead.
Converts a given property list file into ASCII format. |
| public static void | convertToXml(File
The source file. in, File The target file. If the output file's parent directory does not exist, it will be created. out)
Deprecated
Use
PropertyListConverter instead.
Converts a given property list file into the OS X and iOS XML format. |
| private static int | Returns: The type of the property list.The very first bytes of data of the property list (minus any whitespace) as a string. dataBeginning)Determines the property list type by means of the first bytes of its data. |
| private static int | Returns: The type of the property list.An input stream pointing to the beginning of the property list data.
If the stream supports marking it will be reset to the beginning of the property
list data after the type has been determined. is, int The number of bytes to skip in the stream. offset)Determines the property list type by means of the first bytes of its data. |
| public static NSObject | Returns: The root object in the property list. This is usually aNSDictionary but can also be a NSArray.The path to the property list file. filePath)Parses a property list from a file. |
| public static NSObject | Returns: The root object in the property list. This is usually aNSDictionary but can also be a NSArray.The property list file. f)Parses a property list from a file. |
| public static NSObject | Returns: The root object in the property list. This is usually aNSDictionary but can also be a NSArray.The path to the property list file. path)Parses a property list from a file. |
| public static NSObject | Returns: The root object in the property list. This is usually aNSDictionary but can also be a NSArray.The property list data as a byte array. bytes)Parses a property list from a byte array. |
| public static NSObject | Returns: The root object of the property list. This is usually aNSDictionary but can also be a NSArray.The InputStream delivering the property list data. is)Parses a property list from an InputStream. |
| protected static byte[] | Returns: An array containing all bytes that were read from the input stream.The InputStream pointing to the data that should be stored in the array. in)Reads all bytes from an InputStream and stores them in an array, up to a maximum count. |
| public static void | saveAsASCII(NSDictionary
The root object. root, File The output file. If the output file's parent directory does not exist, it will be created. out)
Deprecated
Use
ASCIIPropertyListWriter instead.
Saves a property list with the given object as root into an ASCII file. |
| public static void | saveAsASCII(NSArray
The root object. root, File The output file. If the output file's parent directory does not exist, it will be created. out)
Deprecated
Use
ASCIIPropertyListWriter instead.
Saves a property list with the given object as root into an ASCII file. |
| public static void | saveAsBinary(NSObject
The root object. root, File The output file. If the output file's parent directory does not exist, it will be created. out)
Deprecated
Use
BinaryPropertyListWriter instead.
Saves a property list with the given object as root into a binary file. |
| public static void | saveAsBinary(NSObject
The root object. root, OutputStream The output stream. out)
Deprecated
Use
BinaryPropertyListWriter instead.
Saves a property list with the given object as root in binary format into an output stream. |
| public static void | saveAsGnuStepASCII(NSDictionary
The root object. root, File The output file. If the output file's parent directory does not exist, it will be created. out)
Deprecated
Use
ASCIIPropertyListWriter instead.
Saves a property list with the given object as root into an ASCII file. |
| public static void | saveAsGnuStepASCII(NSArray
The root object. root, File The output file. If the output file's parent directory does not exist, it will be created. out)
Deprecated
Use
ASCIIPropertyListWriter instead.
Saves a property list with the given object as root into an ASCII file. |
| public static void | saveAsXML(NSObject
The root object. root, File The output file. If the output file's parent directory does not exist, it will be created. out)
Deprecated
Use
XMLPropertyListWriter instead.
Saves a property list with the given object as root into an XML file. |
| public static void | saveAsXML(NSObject
The root object. root, OutputStream The output stream. out)
Deprecated
Use
XMLPropertyListWriter instead.
Saves a property list with the given object as root in XML format into an output stream. |
| READ_BUFFER_LENGTH | back to summary |
|---|---|
| private static final int READ_BUFFER_LENGTH | |
| TYPE_ASCII | back to summary |
|---|---|
| private static final int TYPE_ASCII | |
| TYPE_BINARY | back to summary |
|---|---|
| private static final int TYPE_BINARY | |
| TYPE_ERROR_BLANK | back to summary |
|---|---|
| private static final int TYPE_ERROR_BLANK | |
| TYPE_ERROR_UNKNOWN | back to summary |
|---|---|
| private static final int TYPE_ERROR_UNKNOWN | |
| TYPE_XML | back to summary |
|---|---|
| private static final int TYPE_XML | |
| PropertyListParser | back to summary |
|---|---|
| protected PropertyListParser() Prevent instantiation. | |
| convertToASCII | back to summary |
|---|---|
| public static void convertToASCII(File in, File out) throws ParserConfigurationException, ParseException, SAXException, PropertyListFormatException, IOException
Deprecated Use Converts a given property list file into ASCII format.
| |
| convertToBinary | back to summary |
|---|---|
| public static void convertToBinary(File in, File out) throws IOException, ParserConfigurationException, ParseException, SAXException, PropertyListFormatException
Deprecated Use Converts a given property list file into the OS X and iOS binary format.
| |
| convertToGnuStepASCII | back to summary |
|---|---|
| public static void convertToGnuStepASCII(File in, File out) throws ParserConfigurationException, ParseException, SAXException, PropertyListFormatException, IOException
Deprecated Use Converts a given property list file into ASCII format.
| |
| convertToXml | back to summary |
|---|---|
| public static void convertToXml(File in, File out) throws ParserConfigurationException, ParseException, SAXException, PropertyListFormatException, IOException
Deprecated Use Converts a given property list file into the OS X and iOS XML format.
| |
| determineType | back to summary |
|---|---|
| private static int determineType(String dataBeginning) Determines the property list type by means of the first bytes of its data.
| |
| determineType | back to summary |
|---|---|
| private static int determineType(InputStream is, int offset) throws IOException Determines the property list type by means of the first bytes of its data.
| |
| parse | back to summary |
|---|---|
| public static NSObject parse(String filePath) throws ParserConfigurationException, ParseException, SAXException, PropertyListFormatException, IOException Parses a property list from a file.
| |
| parse | back to summary |
|---|---|
| public static NSObject parse(File f) throws IOException, PropertyListFormatException, ParseException, ParserConfigurationException, SAXException Parses a property list from a file.
| |
| parse | back to summary |
|---|---|
| public static NSObject parse(Path path) throws IOException, PropertyListFormatException, ParseException, ParserConfigurationException, SAXException Parses a property list from a file.
| |
| parse | back to summary |
|---|---|
| public static NSObject parse(byte[] bytes) throws IOException, PropertyListFormatException, ParseException, ParserConfigurationException, SAXException Parses a property list from a byte array.
| |
| parse | back to summary |
|---|---|
| public static NSObject parse(InputStream is) throws IOException, PropertyListFormatException, ParseException, ParserConfigurationException, SAXException Parses a property list from an InputStream. This method does not close the specified input stream.
| |
| readAll | back to summary |
|---|---|
| protected static byte[] readAll(InputStream in) throws IOException Reads all bytes from an InputStream and stores them in an array, up to a maximum count.
| |
| saveAsASCII | back to summary |
|---|---|
| public static void saveAsASCII(NSDictionary root, File out) throws IOException
Deprecated Use Saves a property list with the given object as root into an ASCII file.
| |
| saveAsASCII | back to summary |
|---|---|
| public static void saveAsASCII(NSArray root, File out) throws IOException
Deprecated Use Saves a property list with the given object as root into an ASCII file.
| |
| saveAsBinary | back to summary |
|---|---|
| public static void saveAsBinary(NSObject root, File out) throws IOException
Deprecated Use Saves a property list with the given object as root into a binary file.
| |
| saveAsBinary | back to summary |
|---|---|
| public static void saveAsBinary(NSObject root, OutputStream out) throws IOException
Deprecated Use Saves a property list with the given object as root in binary format into an output stream. This method does not close the specified input stream.
| |
| saveAsGnuStepASCII | back to summary |
|---|---|
| public static void saveAsGnuStepASCII(NSDictionary root, File out) throws IOException
Deprecated Use Saves a property list with the given object as root into an ASCII file.
| |
| saveAsGnuStepASCII | back to summary |
|---|---|
| public static void saveAsGnuStepASCII(NSArray root, File out) throws IOException
Deprecated Use Saves a property list with the given object as root into an ASCII file.
| |
| saveAsXML | back to summary |
|---|---|
| public static void saveAsXML(NSObject root, File out) throws IOException
Deprecated Use Saves a property list with the given object as root into an XML file.
| |
| saveAsXML | back to summary |
|---|---|
| public static void saveAsXML(NSObject root, OutputStream out) throws IOException
Deprecated Use Saves a property list with the given object as root in XML format into an output stream. This method does not close the specified output stream.
| |