net.kindleit.gae
Class PasswordExpectOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by net.kindleit.gae.PasswordExpectOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public class PasswordExpectOutputStream
extends java.io.OutputStream

Read writes only from ThreadGroup, from other threads just redirect to PrintStream.

Author:
vlads

Constructor Summary
PasswordExpectOutputStream(java.lang.ThreadGroup threads, java.io.PrintStream out, java.lang.Runnable onExpected)
           
 
Method Summary
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
close, flush, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordExpectOutputStream

public PasswordExpectOutputStream(java.lang.ThreadGroup threads,
                                  java.io.PrintStream out,
                                  java.lang.Runnable onExpected)
Method Detail

write

public void write(int b)
           throws java.io.IOException
Specified by:
write in class java.io.OutputStream
Throws:
java.io.IOException


Copyright © 2009-2011 KindleIT. All Rights Reserved.