public class ByteArrayOutputStreamProvider extends Object implements IHasOutputStreamAndWriter, Serializable
OutputStream provider based on a byte array.| Constructor and Description |
|---|
ByteArrayOutputStreamProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAsString(Charset aCharset) |
byte[] |
getBytes() |
NonBlockingByteArrayOutputStream |
getOutputStream(EAppend eAppend)
Get the output stream to read from the object.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetWriter@Nonnull public final NonBlockingByteArrayOutputStream getOutputStream(@Nonnull EAppend eAppend)
IHasOutputStreamOutputStream needs to be created!getOutputStream in interface IHasOutputStreameAppend - appending mode. May not be null.null if resolving failed.@Nonnull @ReturnsMutableCopy public byte[] getBytes()
Copyright © 2014–2017 Philip Helger. All rights reserved.