org.jenkinsci.plugins.tcl.util
Class StringOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by org.jenkinsci.plugins.tcl.util.StringOutputStream
All Implemented Interfaces:
Closeable, Flushable
Direct Known Subclasses:
TclDriver.StdErr, TclDriver.StdOut

public abstract class StringOutputStream
extends OutputStream

Implements OutputStream with internal buffering and per-string output


Constructor Summary
StringOutputStream()
           
 
Method Summary
 void write(int i)
           
abstract  void WriteLine(String str)
          Writes string to the stream
 
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

StringOutputStream

public StringOutputStream()
Method Detail

write

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

WriteLine

public abstract void WriteLine(String str)
                        throws IOException
Writes string to the stream

Parameters:
str -
Throws:
IOException


Copyright © 2004-2013. All Rights Reserved.