public interface IPreferencesService
| Modifier and Type | Method and Description |
|---|---|
void |
flush(IPreferences node)
Flushes any changes made in this node.
|
Lock |
getReadLock(IPreferences node)
Returns the read lock object for the given node.
|
IPreferences |
getSystemPreferences(String applicationName)
Returns the system preferences for the given application.
|
File |
getSystemPreferencesHome(String applicationName)
Returns the home directory for system preferences of the given application.
|
IPreferences |
getUserPreferences(String applicationName)
Returns the user preferences for the given application.
|
File |
getUserPreferencesHome(String applicationName)
Returns the home directory for user preferences of the given application.
|
Lock |
getWriteLock(IPreferences node)
Returns the write lock object for the given node.
|
void |
sync(IPreferences node)
Wait for any modifications to be flushed.
|
IPreferences getUserPreferences(String applicationName) throws BackingStoreException
applicationName - name of applicationBackingStoreExceptionIPreferences getSystemPreferences(String applicationName) throws BackingStoreException
applicationName - name of applicationBackingStoreExceptionvoid flush(IPreferences node) throws BackingStoreException
node - the node to be flushedBackingStoreException - when there has been a communication problem with the backing store.void sync(IPreferences node) throws BackingStoreException
node - the node to be flushedBackingStoreException - when there has been a communication problem with the backing store.Lock getReadLock(IPreferences node)
node - the node that requires a read lockLock objectLock getWriteLock(IPreferences node)
node - the node that requires a write lockLock objectFile getUserPreferencesHome(String applicationName)
applicationName - name of applicationCopyright © 2014. All rights reserved.