FileDocCategorySizeDatePackage
LoggerDaemon.javaAPI DocExample586Mon May 01 14:41:44 BST 2000None

LoggerDaemon

public class LoggerDaemon extends Thread

Fields Summary
PipedReader
in
Constructors Summary
LoggerDaemon()


       
        start(  );
    
Methods Summary
java.io.PrintWritergetWriter()

        return new PrintWriter( new PipedWriter( in ) );
    
public voidrun()

        BufferedReader bin = new BufferedReader( in );
        String s;

        try {
           while ( (s = bin.readLine(  )) != null ) {
                // process line of data
                // ...
            }
        }
        catch (IOException e ) { }