+ load:anObjectfromAppDataFileNamed: (const char *)aFileName The load:fromAppConfigFileNamed: method loads anObject from th application-specific data file named aFileName. The ObjectLoader class will open the file, initialize the object with its contents and then close the file.
+ load:anObjectfromAppConfigFileNamed: (const char *)aFileName The load:fromAppConfigFileNamed: method loads anObject from th application-specific configuration file named aFileName. The ObjectLoader class will open the file, initialize the object with its contents and then close the file.
+ load:anObjectfromFileNamed: (const char *)aFileName The load:fromFileNamed: method loads anObject from the file named aFileName. The ObjectLoader class will open the file, initialize the object with its contents and then close the file.
+ load:anObjectfrom:aFileObject The load:from: method loads anObject from the previously opened aFileObject without returning an actual instance of the ObjectLoader class. The FileObject remains open after the method has been called.
Phase: Setting
- setTemplateProbeMap: (id <ProbeMap>)probeMap The setTemplateProbeMap: method is used to specify which variables of the target object(s) should be loaded by the ObjectLoader instance to which this message was sent.
- setFileObject:aFileObject The setFileObject: method sets the source fileObject which the instance of the ObjectLoader class should use by sending it this message.
Phase: Using
- updateCache:exampleTarget The updateCache: method should be called if an ObjectLoader instance is going to initialize a large number of objects from the same class.
- loadObject:anObject The loadObject: message must be sent to an instance of the ObjectLoader class in order to initialize the target object from the requested file.