hudson.util
Class WriterOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by hudson.util.WriterOutputStream
All Implemented Interfaces:
Closeable, Flushable

Deprecated. since 2008-05-28. Use the one in stapler.

public class WriterOutputStream
extends OutputStream

OutputStream that writes to Writer by assuming the platform default encoding.

Author:
Kohsuke Kawaguchi

Constructor Summary
WriterOutputStream(Writer out)
          Deprecated.  
 
Method Summary
 void close()
          Deprecated.  
 void flush()
          Deprecated.  
 void write(byte[] b, int off, int len)
          Deprecated.  
 void write(int b)
          Deprecated.  
 
Methods inherited from class java.io.OutputStream
write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WriterOutputStream

public WriterOutputStream(Writer out)
Deprecated. 
Method Detail

write

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

write

public void write(byte[] b,
                  int off,
                  int len)
           throws IOException
Deprecated. 
Overrides:
write in class OutputStream
Throws:
IOException

flush

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

close

public void close()
           throws IOException
Deprecated. 
Specified by:
close in interface Closeable
Overrides:
close in class OutputStream
Throws:
IOException


Copyright © 2004-2013. All Rights Reserved.