Uses of Class
com.dd.plist.NSObject
-
-
Uses of NSObject in com.dd.plist
Subclasses of NSObject in com.dd.plist Modifier and Type Class Description classNSArrayThe NSArray class is a wrapper for an array of NSObject instances.classNSDataThe NSData class is a wrapper for a byte buffer.classNSDateThe NSDate class wraps a date.classNSDictionaryThe NSDictionary class is a collection of NSObject instances that are identified by strings.classNSNullInternally used representation of the null value for storing it inside dictionaries and sets.classNSNumberThe NSNumber class wraps a numeric value.classNSSetThe NSSet class is an unordered collection of NSObject instances.classNSStringThe NSString class is a wrapper for a string.classUIDThe UID class holds a unique identifier.Fields in com.dd.plist declared as NSObject Modifier and Type Field Description private NSObject[]NSArray. arrayFields in com.dd.plist with type parameters of type NSObject Modifier and Type Field Description private java.util.HashMap<java.lang.String,NSObject>NSDictionary. dictprivate java.util.Map<NSObject,java.lang.Integer>BinaryPropertyListWriter. idMapprivate java.util.HashMap<java.lang.Integer,NSObject>BinaryPropertyListParser. parsedObjectsprivate java.util.Set<NSObject>NSSet. setMethods in com.dd.plist that return NSObject Modifier and Type Method Description NSObject[]NSSet. allObjects()Returns all objects contained in the set.NSObjectNSSet. anyObject()Returns one of the objects in the set, ornullif the set contains no objects.NSObjectNSNull. clone()abstract NSObjectNSObject. clone()Creates and returns a deep copy of this instance.private NSObjectBinaryPropertyListParser. doParse(byte[] data)Parses a binary property list from a byte array.private static NSObjectNSObject. fromArray(java.lang.Object object, java.lang.Class<?> objClass)static NSObjectNSObject. fromJavaObject(java.lang.Object object)Serializes the specified object into an NSObject.private static NSObjectNSObject. fromSimple(java.lang.Object object, java.lang.Class<?> objClass)NSObjectNSDictionary. get(java.lang.Object key)NSObject[]NSArray. getArray()Returns the array of NSObjects represented by this NSArray.NSObjectNSArray. lastObject()Returns the last object contained in this array.NSObjectNSSet. member(NSObject obj)Determines whether the set contains an object equal to the given object and returns that object if it is present.NSObjectNSArray. objectAtIndex(int i)Returns the object stored at the given index.NSObjectNSDictionary. objectForKey(java.lang.String key)Gets the NSObject stored for the given key.NSObject[]NSArray. objectsAtIndexes(int... indexes)Returns a new array containing only the values stored at the given indices.NSObjectASCIIPropertyListParser. parse()Parses the property list from the beginning and returns the root object of the property list.static NSObjectASCIIPropertyListParser. parse(byte[] bytes)Parses an ASCII property list from a byte array.static NSObjectASCIIPropertyListParser. parse(byte[] bytes, java.lang.String encoding)Parses an ASCII property list from a byte array.static NSObjectASCIIPropertyListParser. parse(java.io.File f)Parses an ASCII property list file.static NSObjectASCIIPropertyListParser. parse(java.io.File f, java.lang.String encoding)Parses an ASCII property list file.static NSObjectASCIIPropertyListParser. parse(java.io.InputStream in)Parses an ASCII property list from an input stream.static NSObjectASCIIPropertyListParser. parse(java.io.InputStream in, java.lang.String encoding)Parses an ASCII property list from an input stream.static NSObjectASCIIPropertyListParser. parse(java.io.Reader reader)Parses an ASCII property list from aReader.static NSObjectASCIIPropertyListParser. parse(java.lang.String plistData)Parses an ASCII property list from aStringstatic NSObjectASCIIPropertyListParser. parse(java.nio.file.Path path)Parses an ASCII property list file.static NSObjectASCIIPropertyListParser. parse(java.nio.file.Path path, java.lang.String encoding)Parses an ASCII property list file.static NSObjectBinaryPropertyListParser. parse(byte[] data)Parses a binary property list from a byte array.static NSObjectBinaryPropertyListParser. parse(java.io.File f)Parses a binary property list file.static NSObjectBinaryPropertyListParser. parse(java.io.InputStream is)Parses a binary property list from an input stream.static NSObjectBinaryPropertyListParser. parse(java.nio.file.Path path)Parses a binary property list file.static NSObjectPropertyListParser. parse(byte[] bytes)Parses a property list from a byte array.static NSObjectPropertyListParser. parse(java.io.File f)Parses a property list from a file.static NSObjectPropertyListParser. parse(java.io.InputStream is)Parses a property list from an InputStream.static NSObjectPropertyListParser. parse(java.lang.String filePath)Parses a property list from a file.static NSObjectPropertyListParser. parse(java.nio.file.Path path)Parses a property list from a file.static NSObjectXMLPropertyListParser. parse(byte[] bytes)Parses an XML property list from a byte array.static NSObjectXMLPropertyListParser. parse(java.io.File f)Parses an XML property list file.static NSObjectXMLPropertyListParser. parse(java.io.InputStream is)Parses an XML property list from an input stream.static NSObjectXMLPropertyListParser. parse(java.io.Reader reader)Parses an XML property list from aReader.static NSObjectXMLPropertyListParser. parse(java.nio.file.Path path)Parses an XML property list file.static NSObjectXMLPropertyListParser. parse(org.w3c.dom.Document doc)Parses a property list from an XML document.private NSObjectASCIIPropertyListParser. parseData()Parses a data object from the current parsing position.private NSObjectASCIIPropertyListParser. parseDateString()Attempts to parse a plain string as a date if possible.private NSObjectASCIIPropertyListParser. parseObject()Parses the NSObject found at the current position in the property list data stream.private NSObjectBinaryPropertyListParser. parseObject(ParsedObjectStack stack, int obj)Parses an object inside the currently parsed binary property list.private static NSObjectXMLPropertyListParser. parseObject(org.w3c.dom.Node n)Parses a node in the XML structure and returns the corresponding NSObjectprivate NSObjectBinaryPropertyListParser. parseSimpleObject(int offset, int objInfo, int objType, int obj)NSObjectNSDictionary. put(java.lang.String key, NSObject obj)Puts a new key-value pair into this dictionary.NSObjectNSDictionary. put(java.lang.String key, java.lang.Object obj)Puts a new key-value pair into this dictionary.NSObjectNSDictionary. remove(java.lang.Object key)NSObjectNSDictionary. remove(java.lang.String key)Removes a key-value pair from this dictionary.protected static NSObjectNSNull. unwrap(NSObject o)Returns the specified NSObject if it is not a NSNull instance, or null otherwise.protected static NSObjectNSNull. wrap(NSObject o)Returns the specified NSObject if it is not null, or a NSNull instance otherwise.Methods in com.dd.plist that return types with arguments of type NSObject Modifier and Type Method Description java.util.Set<java.util.Map.Entry<java.lang.String,NSObject>>NSDictionary. entrySet()java.util.HashMap<java.lang.String,NSObject>NSDictionary. getHashMap()Gets the hash map which stores the keys and values of this dictionary.java.util.Iterator<NSObject>NSSet. objectIterator()Returns an iterator object that lets you iterate over all elements of the set.java.util.Collection<NSObject>NSDictionary. values()Methods in com.dd.plist with parameters of type NSObject Modifier and Type Method Description voidNSSet. addObject(NSObject obj)Adds an object to the set.(package private) voidBinaryPropertyListWriter. assignID(NSObject obj)intNSArray. compareTo(NSObject o)intNSData. compareTo(NSObject o)intNSDate. compareTo(NSObject o)intNSDictionary. compareTo(NSObject o)intNSNull. compareTo(NSObject o)intNSNumber. compareTo(NSObject o)intNSSet. compareTo(NSObject o)intNSString. compareTo(NSObject o)intUID. compareTo(NSObject o)booleanNSSet. containsObject(NSObject obj)Finds out whether the given object is contained in the set.booleanNSDictionary. containsValue(NSObject val)Checks whether a given value is contained in this dictionary.private java.lang.ObjectNSObject. deserializeArray(NSObject payload, java.lang.Class<?> clazz)private java.lang.ObjectNSObject. deserializeCollection(NSObject payload, java.lang.Class<?> clazz, java.lang.reflect.Type[] types)private static java.lang.ObjectNSObject. deserializeSimple(NSObject payload, java.lang.Class<?> clazz)(package private) intBinaryPropertyListWriter. getID(NSObject obj)private static intBinaryPropertyListWriter. getMinimumRequiredVersion(NSObject root)Finds out the minimum binary property list format version that can be used to save the given NSObject tree.NSObjectNSSet. member(NSObject obj)Determines whether the set contains an object equal to the given object and returns that object if it is present.NSObjectNSDictionary. put(java.lang.String key, NSObject obj)Puts a new key-value pair into this dictionary.voidNSSet. removeObject(NSObject obj)Removes an object from the set.static voidPropertyListParser. saveAsBinary(NSObject root, java.io.File out)Deprecated.UseBinaryPropertyListWriterinstead.static voidPropertyListParser. saveAsBinary(NSObject root, java.io.OutputStream out)Deprecated.UseBinaryPropertyListWriterinstead.static voidPropertyListParser. saveAsXML(NSObject root, java.io.File out)Deprecated.UseXMLPropertyListWriterinstead.static voidPropertyListParser. saveAsXML(NSObject root, java.io.OutputStream out)Deprecated.UseXMLPropertyListWriterinstead.private java.lang.ObjectNSObject. toJavaObject(NSObject payload, java.lang.Class<?> clazz, java.lang.reflect.Type[] types)protected static NSObjectNSNull. unwrap(NSObject o)Returns the specified NSObject if it is not a NSNull instance, or null otherwise.protected static NSObjectNSNull. wrap(NSObject o)Returns the specified NSObject if it is not null, or a NSNull instance otherwise.(package private) voidBinaryPropertyListWriter. write(NSObject root)static voidBinaryPropertyListWriter. write(NSObject root, java.io.File file)Writes a binary plist file with the given object as the root.static voidBinaryPropertyListWriter. write(NSObject root, java.io.File file, boolean createParentDirectories)Writes a binary plist file with the given object as the root.static voidBinaryPropertyListWriter. write(NSObject root, java.io.OutputStream out)Writes a binary plist serialization of the given object as the root.static voidBinaryPropertyListWriter. write(NSObject root, java.nio.file.Path path)Writes a binary plist file with the given object as the root.static voidBinaryPropertyListWriter. write(java.io.File file, NSObject root)Deprecated.Use the overload that takes the root as first argument and the file as second.static voidBinaryPropertyListWriter. write(java.io.OutputStream out, NSObject root)Deprecated.Use the overload that takes the root as first argument and the stream as second.static voidXMLPropertyListWriter. write(NSObject root, java.io.File out)Saves a property list with the given object as root into an XML file.static voidXMLPropertyListWriter. write(NSObject root, java.io.OutputStream out)Saves a property list with the given object as root in XML format into an output stream.static voidXMLPropertyListWriter. write(NSObject root, java.nio.file.Path path)Saves a property list with the given object as root into an XML file.static byte[]BinaryPropertyListWriter. writeToArray(NSObject root)Writes a binary plist serialization of the given object as the root into a byte array.Method parameters in com.dd.plist with type arguments of type NSObject Modifier and Type Method Description private java.lang.ObjectNSObject. deserializeMap(java.lang.Class<?> clazz, java.lang.reflect.Type[] types, java.util.Map<java.lang.String,NSObject> map)voidNSDictionary. putAll(java.util.Map<? extends java.lang.String,? extends NSObject> values)Constructors in com.dd.plist with parameters of type NSObject Constructor Description NSArray(NSObject... a)Creates a new NSArray instance containing the specified elements.NSSet(boolean ordered, NSObject... objects)Create a new NSSet instance with the specified content.NSSet(NSObject... objects)Creates a new NSSet instance with the specified content.
-