public static class UnsynchronizedFilterInputStream.Builder extends AbstractStreamBuilder<UnsynchronizedFilterInputStream,UnsynchronizedFilterInputStream.Builder>
UnsynchronizedFilterInputStream.
Using File IO:
UnsynchronizedFilterInputStream s = UnsynchronizedFilterInputStream.builder()
.setFile(file)
.get();
Using NIO Path:
UnsynchronizedFilterInputStream s = UnsynchronizedFilterInputStream.builder()
.setPath(path)
.get();
get()| Constructor and Description |
|---|
Builder()
Constructs a new builder of
UnsynchronizedFilterInputStream. |
| Modifier and Type | Method and Description |
|---|---|
UnsynchronizedFilterInputStream |
get()
Builds a new
UnsynchronizedFilterInputStream. |
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()
UnsynchronizedFilterInputStream.public UnsynchronizedFilterInputStream get() throws java.io.IOException
UnsynchronizedFilterInputStream.
You must set an aspect that supports AbstractStreamBuilder.getInputStream(), otherwise, this method throws an exception.
This builder uses the following aspects:
java.lang.IllegalStateException - if the origin is null.java.lang.UnsupportedOperationException - if the origin cannot be converted to an InputStream.java.io.IOException - if an I/O error occurs converting to an InputStream using AbstractStreamBuilder.getInputStream().AbstractStreamBuilder.getInputStream(),
IOSupplier.getUnchecked()Copyright © 2010 - 2025 Adobe. All Rights Reserved