Package | Description |
---|---|
net.sf.plist | |
net.sf.plist.defaults | |
net.sf.plist.io | |
net.sf.plist.io.bin | |
net.sf.plist.io.domxml |
Modifier and Type | Class and Description |
---|---|
class |
NSArray
Ordered list of
NSObject s. |
class |
NSBoolean
Represents a value of either
Boolean.TRUE or Boolean.FALSE . |
class |
NSCollection
Parent class to
NSArray and NSDictionary
to make these classes, which contain NSObject s themselves,
easier identifiable. |
class |
NSData
Represents a binary blob.
|
class |
NSDate
Represents a date and time.
|
class |
NSDictionary
A key/value store,
with
String as keys and NSObject as values.Usually, the root node of a Property List is a NSDictionary . |
class |
NSInteger
Represents an integer number between -2^63 and 2^63-1.
|
class |
NSNumber
|
class |
NSReal
Represents an real number of 64 bits in size.
|
class |
NSString
Represents a string.
|
Modifier and Type | Method and Description |
---|---|
NSObject[] |
NSArray.array()
Get an array containing all values of this object.
|
NSObject |
NSArray.get(int index)
Get
NSObject corresponding to index from this object. |
NSObject |
NSDictionary.get(java.lang.String key)
Get the
NSObject associated with key . |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.util.Map.Entry<java.lang.String,NSObject>> |
NSDictionary.entrySet()
Get the entryset for this
NSObject . |
java.util.SortedMap<java.lang.String,NSObject> |
NSDictionary.getValue()
Get the unmodifiable value of this object.
|
java.util.List<NSObject> |
NSArray.getValue()
Get the unmodifiable value of this object.
|
java.util.List<NSObject> |
NSObject.toList()
Try to retrieve the list contained in this
NSObject . |
java.util.List<NSObject> |
NSDictionary.toList()
Try to retrieve the list contained in this
NSObject . |
java.util.List<NSObject> |
NSArray.toList()
Get an unlinked modifiable
List containing all values of this object. |
java.util.SortedMap<java.lang.String,NSObject> |
NSObject.toMap()
Try to retrieve the
SortedMap contained in this NSObject . |
java.util.SortedMap<java.lang.String,NSObject> |
NSDictionary.toMap()
Get an unlinked modifiable
SortedMap containing all values of this object. |
java.util.SortedMap<java.lang.String,NSObject> |
NSBoolean.toMap()
Try to retrieve the
SortedMap contained in this NSObject . |
java.util.SortedMap<java.lang.String,NSObject> |
NSArray.toMap()
Try to retrieve the
SortedMap contained in this NSObject . |
Constructor and Description |
---|
NSArray(java.util.List<NSObject> theList)
Constructor.
|
NSDictionary(java.util.Map<java.lang.String,NSObject> theMap)
Alternative constructor.
|
NSDictionary(java.util.SortedMap<java.lang.String,NSObject> theMap)
Standard constructor.
|
Modifier and Type | Method and Description |
---|---|
NSObject |
NSDefaults.get(java.lang.Object key) |
NSObject |
NSDefaults.put(java.lang.String key,
NSObject value) |
NSObject |
NSDefaults.remove(java.lang.Object key) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.util.Map.Entry<java.lang.String,NSObject>> |
NSDefaults.entrySet() |
java.util.SortedMap<java.lang.String,NSObject> |
NSDefaults.headMap(java.lang.String toKey) |
java.util.SortedMap<java.lang.String,NSObject> |
NSDefaults.subMap(java.lang.String fromKey,
java.lang.String toKey) |
java.util.SortedMap<java.lang.String,NSObject> |
NSDefaults.tailMap(java.lang.String fromKey) |
java.util.Collection<NSObject> |
NSDefaults.values() |
Modifier and Type | Method and Description |
---|---|
NSObject |
NSDefaults.put(java.lang.String key,
NSObject value) |
Modifier and Type | Method and Description |
---|---|
void |
NSDefaults.putAll(java.util.Map<? extends java.lang.String,? extends NSObject> m) |
Modifier and Type | Field and Description |
---|---|
protected NSObject |
PropertyListWriter.root
The root object of the tree
|
Modifier and Type | Method and Description |
---|---|
abstract NSObject |
PropertyListParser.parse()
Parse the Property List input (provided in the constructor) to a tree of
NSObject s |
static NSObject |
PropertyListParser.parse(java.io.File file)
Parse a Property List file.
|
static NSObject |
PropertyListParser.parse(java.io.InputStream input)
Parse a Property List InputStream.
|
Modifier and Type | Method and Description |
---|---|
static void |
PropertyListWriter.write(NSObject root,
java.io.File file)
Convert a tree to a property list and write it to a stream
|
static void |
PropertyListWriter.write(NSObject root,
java.io.File file,
PropertyListWriter.Format format)
Convert a tree to a property list and write it to a file
|
static void |
PropertyListWriter.write(NSObject root,
java.io.OutputStream stream,
PropertyListWriter.Format format)
Convert a tree to a property list and write it to a stream
|
Constructor and Description |
---|
PropertyListWriter(NSObject root)
Construct a new PropertyListWriter
|
Modifier and Type | Field and Description |
---|---|
protected NSObject |
BinaryParser.result
The parse result
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<NSObject> |
BinaryWriter.objectIndex
Numbered list containing all objects
|
Modifier and Type | Method and Description |
---|---|
NSObject |
BinaryParser.parse()
Parse the Property List input (provided in the constructor) to a tree of
NSObject s |
protected NSObject |
BinaryParser.parseNode(long addr)
Parse a node to a NSObject on a given start address
|
protected NSObject |
BinaryParser.parseSet(byte length)
Parse a NSSet (not implemented)
|
protected NSObject |
BinaryParser.parseUid(byte length)
Parse a NSUID (not implemented)
|
Modifier and Type | Method and Description |
---|---|
protected void |
BinaryWriter.buildObjectIndex(NSObject... objs)
Add all objects to the objectIndex, and search all objects of type
NSDictionary or NSArray for more. |
protected long |
BinaryWriter.writeObject(NSObject obj)
Write an object to the stream
|
Constructor and Description |
---|
BinaryWriter(NSObject root) |
Modifier and Type | Field and Description |
---|---|
protected NSObject |
DOMXMLParser.result
The parse result
|
Modifier and Type | Method and Description |
---|---|
NSObject |
DOMXMLParser.parse()
Parse the Property List input (provided in the constructor) to a tree of
NSObject s |
protected static NSObject |
DOMXMLParser.parseNode(org.w3c.dom.Node node)
Convert a node to an NSObject
|
Modifier and Type | Method and Description |
---|---|
protected org.w3c.dom.Element |
DOMXMLWriter.generateNode(NSObject obj)
Convert an NSObject to an XML element
|
Constructor and Description |
---|
DOMXMLWriter(NSObject root) |