public class BinaryPropertyListWriter extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
VERSION_00 |
static int |
VERSION_10 |
static int |
VERSION_15 |
static int |
VERSION_20 |
| Modifier and Type | Method and Description |
|---|---|
static void |
write(File file,
NSObject root)
Writes a binary plist file with the given object as the root.
|
static void |
write(OutputStream out,
NSObject root)
Writes a binary plist serialization of the given object as the root.
|
static byte[] |
writeToArray(NSObject root)
Writes a binary plist serialization of the given object as the root
into a byte array.
|
public static final int VERSION_00
public static final int VERSION_10
public static final int VERSION_15
public static final int VERSION_20
public static void write(File file, NSObject root) throws IOException
file - the file to write toroot - the source of the data to write to the fileIOExceptionpublic static void write(OutputStream out, NSObject root) throws IOException
out - the stream to write toroot - the source of the data to write to the streamIOExceptionpublic static byte[] writeToArray(NSObject root) throws IOException
root - The root object of the property listIOExceptionCopyright © 2013. All Rights Reserved.