samples.tutorials.applet
Class DemoUI.MyOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by samples.tutorials.applet.DemoUI.MyOutputStream
All Implemented Interfaces:
Closeable, Flushable
Enclosing class:
DemoUI

public class DemoUI.MyOutputStream
extends OutputStream


Constructor Summary
DemoUI.MyOutputStream(JTextArea pane)
           
 
Method Summary
 void flush()
           
 void write(byte[] bytes, int i, int i1)
           
 void write(int i)
           
 
Methods inherited from class java.io.OutputStream
close, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DemoUI.MyOutputStream

public DemoUI.MyOutputStream(JTextArea pane)
                      throws IOException
Throws:
IOException
Method Detail

write

public void write(int i)
           throws IOException
Specified by:
write in class OutputStream
Throws:
IOException

write

public void write(byte[] bytes,
                  int i,
                  int i1)
           throws IOException
Overrides:
write in class OutputStream
Throws:
IOException

flush

public void flush()
           throws IOException
Specified by:
flush in interface Flushable
Overrides:
flush in class OutputStream
Throws:
IOException


Copyright © 2012. All Rights Reserved.