| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.history.Historian
public class Historian
The Historian is a helper class used by the HistoryManager to take on the responsibility of doing the actual persisting of a given object's contents. Implementations are expected to be capable of persisting the contents of an associated object type using a save format identical to that of the associated object's save implementation.
| Constructor Summary | |
|---|---|
| Historian() | |
| Method Summary | |
|---|---|
|  void | copy(java.net.URL srcUrl,
     java.net.URL dstUrl)Copy the last persisted contents of the object located at the given source URL into the given destination URL. | 
|  void | recordContents(java.net.URL srcUrl,
               java.net.URL dstUrl)Persist the current contents of the object located at the given source URL into the given destination URL. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Historian()
| Method Detail | 
|---|
public void recordContents(java.net.URL srcUrl,
                           java.net.URL dstUrl)
                    throws java.lang.Exception
The default implementation provides a simple byte by byte transfer of the contents of the InputStream of a Node into an OutputStream opened upon a given URL.
srcUrl - the source location whose contents are to be recorded.dstUrl - the destination location at which to record the contents.
java.lang.Exception - on failure.
public void copy(java.net.URL srcUrl,
                 java.net.URL dstUrl)
          throws java.lang.Exception
srcUrl - the source location whose last state is to be copied.dstUrl - the destination location at which to copy the contents.
java.lang.Exception - on failure.| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||