Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

oracle.ide.model
Class TextNodeHistorian

java.lang.Object
  extended by oracle.ide.history.Historian
      extended by oracle.ide.model.TextNodeHistorian

public class TextNodeHistorian
extends Historian

TextNodeHistorian is a subclass of Historian which has been optimized for working with the TextBuffer storage of a TextNode while taking into account the expected save encoding.


Constructor Summary
TextNodeHistorian()
           
 
Method Summary
 void recordContents(java.net.URL srcUrl, java.net.URL dstUrl)
          Persist the current contents of the Node located at the given source URL into the given destination URL.
 
Methods inherited from class oracle.ide.history.Historian
copy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextNodeHistorian

public TextNodeHistorian()
Method Detail

recordContents

public void recordContents(java.net.URL srcUrl,
                           java.net.URL dstUrl)
                    throws java.lang.Exception
Persist the current contents of the Node located at the given source URL into the given destination URL. This implementation passes an OutputStreamWriter opened upon the destination URL to the write method of the TextNode's TextBuffer.

Overrides:
recordContents in class Historian
Parameters:
srcUrl - the source location whose contents are to be recorded.
dstUrl - the destination location at which to record the contents.
Throws:
java.lang.Exception - on failure.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

Copyright © 1997, 2013, Oracle. All rights reserved.