public class ByteArrayOutputTarget extends AbstractOutputStreamOutputTarget
outputStream
Constructor and Description |
---|
ByteArrayOutputTarget() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected OutputStream |
openStream() |
byte[] |
toByteArray() |
getOutputStream, restartSupported
protected OutputStream openStream() throws IOException
openStream
in class AbstractOutputStreamOutputTarget
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class AbstractOutputStreamOutputTarget
IOException
public byte[] toByteArray()
Copyright © 2004–2022 XWiki. All rights reserved.