org.codehaus.plexus.util
public class StringOutputStream extends OutputStream
Deprecated: As of version 1.5.2 this class should no longer be used because it does not properly handle character encoding. Instead, use java.io.ByteArrayOutputStream#toString(String).
Wraps a String as an OutputStream.Version: $Id: StringOutputStream.java 8010 2009-01-07 12:59:50Z vsiveton $
Method Summary | |
---|---|
String | toString() |
void | write(byte[] b) |
void | write(byte[] b, int off, int len) |
void | write(int b) |