foundry-0.9.1

foundry.io
Class JTextComponentWriter

java.lang.Object
  |
  +--java.io.Writer
        |
        +--foundry.io.JTextComponentWriter

public class JTextComponentWriter
extends Writer


Field Summary
private  JTextComponent component
           
private  boolean isClosed
           
 
Fields inherited from class java.io.Writer
lock, writeBuffer, writeBufferSize
 
Constructor Summary
JTextComponentWriter(JTextComponent component)
           
 
Method Summary
 void close()
           
 void flush()
           
 void write(char[] chars, int offset, int length)
           
 void write(String string, int offset, int length)
           
 
Methods inherited from class java.io.Writer
write, write, write
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

component

private JTextComponent component

isClosed

private boolean isClosed
Constructor Detail

JTextComponentWriter

public JTextComponentWriter(JTextComponent component)
Method Detail

flush

public void flush()
           throws IOException
Overrides:
flush in class Writer

close

public void close()
           throws IOException
Overrides:
close in class Writer

write

public void write(String string,
                  int offset,
                  int length)
           throws IOException
Overrides:
write in class Writer

write

public void write(char[] chars,
                  int offset,
                  int length)
           throws IOException
Overrides:
write in class Writer

foundry-0.9.1

Copyright © 2000 - Laird Jarrett Nelson