public static class UncheckedFilterOutputStream.Builder extends org.apache.commons.io.build.AbstractStreamBuilder<UncheckedFilterOutputStream,UncheckedFilterOutputStream.Builder>
UncheckedFilterOutputStream instance.
Using File IO:
UncheckedFilterOutputStream s = UncheckedFilterOutputStream.builder()
.setFile(file)
.get();
Using NIO Path:
UncheckedFilterOutputStream s = UncheckedFilterOutputStream.builder()
.setPath(path)
.get();
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
UncheckedFilterOutputStream |
get()
Constructs a new instance.
|
getCharset, setBufferSize, setBufferSize, setCharset, setCharset, setOpenOptionssetByteArray, setCharSequence, setFile, setFile, setInputStream, setOutputStream, setPath, setPath, setReader, setURI, setWriterequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasSupplierpublic UncheckedFilterOutputStream get() throws java.io.IOException
This builder use the aspect OutputStream and OpenOption[].
You must provide an origin that can be converted to an OutputStream by this builder, otherwise, this call will throw an
UnsupportedOperationException.
java.lang.UnsupportedOperationException - if the origin cannot provide an OutputStream.java.io.IOException - if an I/O error occurs.AbstractStreamBuilder.getOutputStream()Copyright © 2010 - 2023 Adobe. All Rights Reserved