org.codehaus.plexus.util

Class StringOutputStream


public class StringOutputStream
extends OutputStream

Wraps a String as an OutputStream.
Author:
Emmanuel Venisse

Field Summary

private StringBuffer
buf

Method Summary

String
toString()
void
write(byte[] b)
void
write(byte[] b, int off, int len)
void
write(int b)

Field Details

buf

private StringBuffer buf

Method Details

toString

public String toString()

write

public void write(byte[] b)
            throws IOException

write

public void write(byte[] b,
                  int off,
                  int len)
            throws IOException

write

public void write(int b)
            throws IOException