| 
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.config.DTCache
The DTCache is a persisted cache that can be used to
 store data that is not user-configurable.  For example, this can be
 used to "remember" pieces of information, such as history
 information. 
| Constructor Summary | |
DTCache()
Construct a new default DTCache instance. | 
|
| Method Summary | |
 java.lang.Object | 
copyTo(java.lang.Object target)
Copies the internal state of this object to the
 specified copy. | 
 java.lang.Object | 
getData(java.lang.String dataKey)
Retrieves a previously added cached object from the cache using the specified key for lookup.  | 
 boolean | 
load()
Loads the registered data from the XML file.  | 
 void | 
putData(java.lang.String dataKey,
        Copyable data)
Stores an object into the cache using the specified key for lookup.  | 
 void | 
putData(java.lang.String dataKey,
        java.util.List copyableList)
Stores a list into the cache using the specified key for lookup.  | 
 boolean | 
save()
Saves the registered data to the XML file.  | 
 java.lang.String | 
toString()
 | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public DTCache()
DTCache instance.
| Method Detail | 
public java.lang.Object getData(java.lang.String dataKey)
dataKey - the key to use for looking up the object
public void putData(java.lang.String dataKey,
                    Copyable data)
dataKey - the key to use for looking up the objectdata - the data to store in the cache
public void putData(java.lang.String dataKey,
                    java.util.List copyableList)
dataKey - the key to use for looking up the objectcopyableList - the list to store in the cachepublic boolean save()
public boolean load()
public java.lang.Object copyTo(java.lang.Object target)
this object to the
 specified copy.
copyTo in interface Copyabletarget - The target object to which the state of
  this object should be copied.  If target
  is null, then the copyTo method will
  return a new instance of this class.
this
  object was copied.  If the target was
  non-null, then the return value is the same as the
  target object that was passed in; otherwise, the
  return value is a new instance of this class.public java.lang.String toString()
  | 
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright ©1997, 2003, Oracle. All rights reserved.