com.webobjects.eoapplication
Class EOUserFileDefaults
java.lang.Object
com.webobjects.eoapplication.EODefaults
com.webobjects.eoapplication.EOUserFileDefaults
- All Implemented Interfaces:
- NSDisposable
- public class EOUserFileDefaults
- extends EODefaults
EOUserFileDefaults manages the defaults of an application by storing and
loading them from the file system. The file location can be specified as
userDefaultsFile
argument to the EOApplication. The value of
that argument can contain "~" to specify the user's hoe directory and "#"
to specify the application name, for example "~/.Defaults#".
- See Also:
EODefaults
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EOUserFileDefaults
public EOUserFileDefaults()
- Creates a new defaults manager object.
loadPersistentValues
protected NSDictionary loadPersistentValues()
- Tries to load the persistent user defaults from the file system.
- Overrides:
loadPersistentValues
in class EODefaults
- Returns:
- the defaults loaded
- See Also:
savePersistentValues(NSDictionary)
savePersistentValues
protected void savePersistentValues(NSDictionary values)
- Saves the persistent user defaults in the file system.
- Overrides:
savePersistentValues
in class EODefaults
- Parameters:
values
- the persistent values to save- See Also:
loadPersistentValues()
Copyright © 2004 Apple Computer, Inc.