| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.javatools.data.HashStructureAdapter
oracle.ide.config.Preferences
public final class Preferences
Class that represents shapeable Preferences.  These preferences are
  stored in a HashStructure format and saved in a file named
  product-preferences.xml in the product extension's directory -- i.e.
  under the system directory, it's the subdirectory whose name matches
  (modulo any version portion) the "ide.product" system property.
| Field Summary | |
|---|---|
static java.lang.String | 
DATA_KEY
Key used to lookup a copy of the Preferences object within other data structures, such as in the TraversableContext
  of the IDE Preferences dialog. | 
| Fields inherited from class oracle.javatools.data.HashStructureAdapter | 
|---|
_hash | 
| Method Summary | |
|---|---|
 void | 
clearDirty()
Clears the dirty flag for the Preferences.  | 
static Preferences | 
getPreferences()
Returns the product-level Preferences object.  | 
 HashStructure | 
getProperties()
 | 
 boolean | 
isDirty()
 | 
 void | 
save()
Saves the product-level Preferences object to its fixed location in the system directory.  | 
| Methods inherited from class oracle.javatools.data.HashStructureAdapter | 
|---|
addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final java.lang.String DATA_KEY
TraversableContext
  of the IDE Preferences dialog.
| Method Detail | 
|---|
public static Preferences getPreferences()
public HashStructure getProperties()
getProperties in interface PropertyStoragepublic boolean isDirty()
public void clearDirty()
public void save()
          throws java.io.IOException
java.io.IOException - if an IOException occurred during save.
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||