public static class UnsynchronizedByteArrayOutputStream.Builder extends AbstractStreamBuilder<UnsynchronizedByteArrayOutputStream,UnsynchronizedByteArrayOutputStream.Builder>
UnsynchronizedByteArrayOutputStream.
Using File IO:
UnsynchronizedByteArrayOutputStream s = UnsynchronizedByteArrayOutputStream.builder()
.setBufferSize(8192)
.get();
Using NIO Path:
UnsynchronizedByteArrayOutputStream s = UnsynchronizedByteArrayOutputStream.builder()
.setBufferSize(8192)
.get();
get()| Constructor and Description |
|---|
Builder()
Constructs a new builder of
UnsynchronizedByteArrayOutputStream. |
| Modifier and Type | Method and Description |
|---|---|
UnsynchronizedByteArrayOutputStream |
get()
Builds a new
UnsynchronizedByteArrayOutputStream. |
getBufferSize, getBufferSizeDefault, getCharSequence, getCharset, getCharsetDefault, getFile, getInputStream, getOpenOptions, getOutputStream, getPath, getRandomAccessFile, getReader, getWriter, setBufferSize, setBufferSize, setBufferSizeChecker, setBufferSizeMax, setCharset, setCharset, setOpenOptionssetByteArray, setCharSequence, setFile, setFile, setInputStream, setOutputStream, setPath, setPath, setRandomAccessFile, setRandomAccessFile, setReader, setURI, setWriterequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasSupplier, getUncheckedpublic Builder()
UnsynchronizedByteArrayOutputStream.public UnsynchronizedByteArrayOutputStream get()
UnsynchronizedByteArrayOutputStream.
This builder uses the following aspects:
AbstractOrigin.getByteArray(),
IOSupplier.getUnchecked()Copyright © 2010 - 2025 Adobe. All Rights Reserved