Ontimize 5.2071EN

com.ontimize.gui
Class ApplicationManager.TextStream

java.lang.Object
  extended byjava.io.OutputStream
      extended bycom.ontimize.gui.ApplicationManager.TextStream
Enclosing class:
ApplicationManager

protected static class ApplicationManager.TextStream
extends java.io.OutputStream

An OutputStream configured for text. When flushing, the content of the JTextComponent used to create the TextStream will be flushed.


Constructor Summary
ApplicationManager.TextStream(javax.swing.text.JTextComponent tc)
           
ApplicationManager.TextStream(javax.swing.text.JTextComponent tc, int maxTextSize)
           
ApplicationManager.TextStream(javax.swing.text.JTextComponent tc, int maxTextSize, int bufferSize)
           
ApplicationManager.TextStream(javax.swing.text.JTextComponent tc, int maxTextSize, int bufferSize, boolean echoDate)
           
 
Method Summary
 void flush()
           
 void write(byte[] bytes)
           
 void write(byte[] bytes, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
close
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationManager.TextStream

public ApplicationManager.TextStream(javax.swing.text.JTextComponent tc)

ApplicationManager.TextStream

public ApplicationManager.TextStream(javax.swing.text.JTextComponent tc,
                                     int maxTextSize)

ApplicationManager.TextStream

public ApplicationManager.TextStream(javax.swing.text.JTextComponent tc,
                                     int maxTextSize,
                                     int bufferSize)

ApplicationManager.TextStream

public ApplicationManager.TextStream(javax.swing.text.JTextComponent tc,
                                     int maxTextSize,
                                     int bufferSize,
                                     boolean echoDate)
Method Detail

flush

public void flush()
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(byte[] bytes,
                  int off,
                  int len)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(byte[] bytes)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(int b)
           throws java.io.IOException
Throws:
java.io.IOException

Ontimize