com.ontimize.gui
Class ApplicationManager.TextStream
java.lang.Object
java.io.OutputStream
com.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.
|
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 |
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)
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