WebObjects 5.2

Uses of Class
com.webobjects.foundation.NSData

Packages that use NSData
com.webobjects.appserver Provides the WebObjects application server, session management classes, component classes, and classes to manage the request-response loop. 
com.webobjects.appserver.xml Provides for encoding and decoding of XML data. 
com.webobjects.eoaccess Provides the data access mechanisms for the Enterprise Objects technology. 
com.webobjects.eodistribution Provides the communication mechanism between the client and server components of Java Client applications. 
com.webobjects.eointerface.swing Provides an implementation of Swing classes that plug in to the interface layer. 
com.webobjects.foundation Provides a set of robust and mature core classes, including utility, collection, key-value coding, time and date, notification, and debug logging classes. 
com.webobjects.smil Provides the infrastructure that allows for the development of SMIL (Synchronized Multimedia Integration Language) applications in WebObjects. 
 

Uses of NSData in com.webobjects.appserver
 

Methods in com.webobjects.appserver that return NSData
 NSData WOMultipartIterator.WOFormData.formData()
          Equivalent to formData(4096)
 NSData WOMultipartIterator.WOFormData.formData(int bufferSize)
          Returns the form element data as an NSData.
 NSData WOMessage.content()
          Returns the HTML content of the receiver as an NSData object.If the content was set as a String, the NSData returned will contain the bytes of the String encoded using contentEncoding.
 

Methods in com.webobjects.appserver with parameters of type NSData
 WORequest WOApplication.createRequest(String aMethod, String aURL, String anHTTPVersion, NSDictionary someHeaders, NSData aContent, NSDictionary someInfo)
          Convenience method that instantiates and returns a new WORequest object.
 void WOMessage.appendContentData(NSData someData)
          Appends the content of NSData someData to the message's content.
 void WOMessage.setContent(NSData someContent)
          Sets the message content to someContent.
 void WOResourceManager.setData(NSData someData, String key, String type, WOSession aSession)
          Assigns someData to a key and caches it for later url retrieval.
 

Constructors in com.webobjects.appserver with parameters of type NSData
WORequest(String aMethod, String aURL, String anHTTPVersion, NSDictionary someHeaders, NSData aContent, NSDictionary aDictionary)
          Returns a WORequest object initialized with the specified parameters.
 

Uses of NSData in com.webobjects.appserver.xml
 

Methods in com.webobjects.appserver.xml with parameters of type NSData
 Object WOXMLDecoder.decodeRootObject(NSData data)
          Decodes the XML specified by an NSData data and constructs a corresponding object.
 

Uses of NSData in com.webobjects.eoaccess
 

Methods in com.webobjects.eoaccess that return NSData
 NSData EOAdaptor.fetchedValueForDataValue(NSData value, EOAttribute att)
          The default implementation returns value unchanged.
 

Methods in com.webobjects.eoaccess with parameters of type NSData
 String EOSQLExpression.sqlStringForData(NSData data)
          Returns the SQL string for a data of type NSData.
 NSData EOAdaptor.fetchedValueForDataValue(NSData value, EOAttribute att)
          The default implementation returns value unchanged.
 

Uses of NSData in com.webobjects.eodistribution
 

Methods in com.webobjects.eodistribution that return NSData
 NSData EODistributionContext.responseToClientMessage(NSData message)
          Invoked to generate a response to a remote method invocation of the client appliction.
 NSData EODistributionContext.Delegate.distributionContextDidReceiveData(EODistributionContext distributionContext, NSData data)
          Gives the delegate an opportunity to decrypt data sent from the client.
 NSData EODistributionContext.Delegate.distributionContextWillSendData(EODistributionContext distributionContext, NSData data)
          Gives the delegate an opportunity to encrypt data sent to the client.
 

Methods in com.webobjects.eodistribution with parameters of type NSData
 NSData EODistributionContext.responseToClientMessage(NSData message)
          Invoked to generate a response to a remote method invocation of the client appliction.
 NSData EODistributionContext.Delegate.distributionContextDidReceiveData(EODistributionContext distributionContext, NSData data)
          Gives the delegate an opportunity to decrypt data sent from the client.
 NSData EODistributionContext.Delegate.distributionContextWillSendData(EODistributionContext distributionContext, NSData data)
          Gives the delegate an opportunity to encrypt data sent to the client.
 

Uses of NSData in com.webobjects.eointerface.swing
 

Methods in com.webobjects.eointerface.swing with parameters of type NSData
protected  Image EOSwingImageViewPlugin.imageFromData(NSData data)
          Converts the NSData object into an java.awt.Image, using Toolkit.createImage.
 

Uses of NSData in com.webobjects.foundation
 

Subclasses of NSData in com.webobjects.foundation
 class NSMutableData
          The NSMutableData class declares the programmatic interface to an object that contains modifiable data in the form of bytes.
 

Fields in com.webobjects.foundation declared as NSData
static NSData NSData.EmptyData
          An empty data object, which can be shared to save memory.
 

Methods in com.webobjects.foundation that return NSData
static NSData NSPropertyListSerialization.dataFromPropertyList(Object object)
          Deprecated. Use dataFromPropertyList(Object object, String encoding) instead.
static NSData NSPropertyListSerialization.dataFromPropertyList(Object object, String encoding)
          Converts the property list object into a string using a character encoding and returns it as an NSData object.
static NSData NSData.dataWithContentsOfFile(File file)
          Deprecated.  
static NSData NSData.dataWithContentsOfFile(String path)
          Deprecated.  
static NSData NSData.dataWithContentsOfMappedFile(File file)
          Deprecated.  
 NSData NSData.subdataWithRange(NSRange range)
          Creates a data object containing a copy of the receiver's bytes that fall within the range specified by range.
static NSData NSProperties.dataForKey(String aKey)
          Deprecated. Instead, find the system property using System.getProperty, convert the property to a property list using NSPropertyListSerialization.propertyListFromString, and convert the property list to an NSData object using NSPropertyListSerialization.dataFromPropertyList.
 NSData NSTimeZone.data()
          Provides an opaque object representing the behavior for this NSTimeZone.
 

Methods in com.webobjects.foundation with parameters of type NSData
static Object NSPropertyListSerialization.propertyListFromData(NSData data)
          Deprecated. Use propertyListFromData(NSData data, String encoding)
static Object NSPropertyListSerialization.propertyListFromData(NSData data, String encoding)
          Converts an NSData into a property list using a character encoding and returns it.
 boolean NSData.isEqualToData(NSData otherData)
          Compares the receiving data object to otherData.
 void NSMutableData.appendData(NSData otherData)
          Appends the contents of a data object otherData to the receiver.
 void NSMutableData.setData(NSData otherData)
          Replaces the entire contents of the receiver with the contents of otherdata.
static NSTimeZone NSTimeZone.timeZoneWithNameAndData(String aName, NSData aData)
          Use timeZoneWithName instead of calling this method directly.
 

Constructors in com.webobjects.foundation with parameters of type NSData
NSData(NSData otherData)
          Creates a data object containing the contents of another data object, otherData.
NSMutableData(NSData otherData)
          Creates an NSMutableData object containing the contents of another data object otherData.
NSTimeZone(String aName, NSData aData)
          Used internally by NSTimeZone and should be considered private.
 

Uses of NSData in com.webobjects.smil
 

Methods in com.webobjects.smil that return NSData
 NSData WOSMILMediaObject.data()
          Returns the NSData of the media this element represents.
 

Methods in com.webobjects.smil with parameters of type NSData
 void WOSMILMediaObject.setData(NSData data)
          Sets the NSData of the media this element represents.
 


Last updated Fri Feb 21 13:15:00 PST 2003.

Copyright © 2003 Apple Computer, Inc.