public static class UncheckedFilterWriter.Builder extends org.apache.commons.io.build.AbstractStreamBuilder<UncheckedFilterWriter,UncheckedFilterWriter.Builder>
UncheckedFilterWriter instance.
Using File IO:
UncheckedFilterWriter s = UncheckedFilterWriter.builder()
.setFile(file)
.get();
Using NIO Path:
UncheckedFilterWriter s = UncheckedFilterWriter.builder()
.setPath(path)
.get();
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
UncheckedFilterWriter |
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 UncheckedFilterWriter get() throws java.io.IOException
This builder use the aspects Writer, OpenOption[], and Charset.
You must provide an origin that can be converted to a Writer by this builder, otherwise, this call will throw an
UnsupportedOperationException.
java.lang.UnsupportedOperationException - if the origin cannot provide a Writer.java.io.IOException - if an I/O error occurs.AbstractStreamBuilder.getWriter()Copyright © 2010 - 2023 Adobe. All Rights Reserved