Uses of Interface
org.apache.commons.io.function.IOSupplier
Package
Description
Provides classes for working with streams, readers, writers and files.
Provides classes to implement IO builders.
Provides extensions in the realm of
java.nio.file
.Provides IO-only related functional interfaces for lambda expressions and method references.
Provides implementations of input classes, such as
InputStream
and Reader
.Provides a component for monitoring file system events (directory and file create, update and delete events).
Provides implementations of output classes, such as
OutputStream
and
Writer
.Provides a framework for controlling the deserialization of classes.
-
Uses of IOSupplier in org.apache.commons.io
Modifier and TypeMethodDescriptionstatic String
IOUtils.toString
(IOSupplier<InputStream> input, Charset charset) Gets the contents of anInputStream
from a supplier as a String using the specified character encoding.static String
IOUtils.toString
(IOSupplier<InputStream> input, Charset charset, IOSupplier<String> defaultString) Gets the contents of anInputStream
from a supplier as a String using the specified character encoding. -
Uses of IOSupplier in org.apache.commons.io.build
Modifier and TypeClassDescriptionclass
AbstractOrigin<T,
B extends AbstractOrigin<T, B>> Abstracts the origin of data for builders like aFile
,Path
,Reader
,Writer
,InputStream
,OutputStream
, andURI
.static class
AbstractOrigin.AbstractRandomAccessFileOrigin<T extends RandomAccessFile,
B extends AbstractOrigin.AbstractRandomAccessFileOrigin<T, B>> ARandomAccessFile
origin.static class
Abyte[]
origin.static class
ACharSequence
origin.static class
AFile
origin.static class
AnInputStream
origin.static class
AIORandomAccessFile
origin.static class
AnOutputStream
origin.static class
APath
origin.static class
ARandomAccessFile
origin.static class
AReader
origin.static class
AURI
origin.static class
AWriter
origin.class
AbstractOriginSupplier<T,
B extends AbstractOriginSupplier<T, B>> Abstracts building an instance ofT
.class
AbstractStreamBuilder<T,
B extends AbstractStreamBuilder<T, B>> Abstracts building a typed instance ofT
.class
AbstractSupplier<T,
B extends AbstractSupplier<T, B>> Abstracts supplying an instance ofT
. -
Uses of IOSupplier in org.apache.commons.io.file
Modifier and TypeMethodDescriptionstatic long
PathUtils.copy
(IOSupplier<InputStream> in, Path target, CopyOption... copyOptions) Copies the InputStream from the supplier withFiles.copy(InputStream, Path, CopyOption...)
. -
Uses of IOSupplier in org.apache.commons.io.filefilter
-
Uses of IOSupplier in org.apache.commons.io.function
Modifier and TypeMethodDescriptiondefault IOSupplier<R>
Returns a composedIOFunction
that first applies thebefore
function to its input, and then applies this function to the result.default IOSupplier<R>
IOFunction.compose
(IOSupplier<? extends T> before) Returns a composedIOFunction
that first applies thebefore
function to its input, and then applies this function to the result.Modifier and TypeMethodDescriptiondefault <R> R
IOStream.collect
(IOSupplier<R> supplier, IOBiConsumer<R, ? super T> accumulator, IOBiConsumer<R, R> combiner) default IOSupplier<R>
IOFunction.compose
(IOSupplier<? extends T> before) Returns a composedIOFunction
that first applies thebefore
function to its input, and then applies this function to the result.static <T> T
Uncheck.get
(IOSupplier<T> supplier) Gets the result from an IO supplier.static <T> T
Uncheck.get
(IOSupplier<T> supplier, Supplier<String> message) Gets the result from an IO supplier. -
Uses of IOSupplier in org.apache.commons.io.input
Modifier and TypeClassDescriptionstatic class
Builds a newAutoCloseInputStream
instance.static class
Builds a newBOMInputStream
.static class
Builds a newBoundedInputStream
.static class
Builds a newBufferedFileChannelInputStream
.static class
Builds a newCharSequenceInputStream
.static class
Builds a newChecksumInputStream
.static class
Builds a newMemoryMappedFileInputStream
.static class
Deprecated.Builds a newMessageDigestCalculatingInputStream
.static class
Builds newMessageDigestInputStream
.static class
For subclassing builders fromBoundedInputStream
subclassses.static class
Builds instances ofObservableInputStream
.protected static class
ProxyInputStream.AbstractBuilder<T,
B extends AbstractStreamBuilder<T, B>> Abstracts builder properties for subclasses.static class
Builds a newQueueInputStream
.static class
Builds a newRandomAccessFileInputStream
.static class
Builds a newReadAheadInputStream
.static class
Builds a newReaderInputStream
.static class
Builds a newReversedLinesFileReader
.static class
Builds a newTailer
.static class
Builds a newThrottledInputStream
.static class
Builds a newUncheckedBufferedReader
.static class
Builds a newUncheckedFilterInputStream
.static class
Builds a newUncheckedFilterReader
.static class
Builds a newUnsynchronizedBufferedInputStream
.static class
Builds a newUnsynchronizedByteArrayInputStream
.static class
Builds a newUnsynchronizedFilterInputStream
.static class
Builds a newXmlStreamWriter
. -
Uses of IOSupplier in org.apache.commons.io.monitor
-
Uses of IOSupplier in org.apache.commons.io.output
Modifier and TypeClassDescriptionstatic class
Builds a newUnsynchronizedByteArrayOutputStream
.static class
Builds a newDeferredFileOutputStream
.static class
Builds a newFileWriterWithEncoding
.static class
Builds a newLockableFileWriter
.static final class
Builds a newRandomAccessFileOutputStream
.static class
Builds a newUncheckedFilterOutputStream
.static class
Builds a newUncheckedFilterWriter
.static class
Builds a newUnsynchronizedByteArrayOutputStream
.static class
Builds a newWriterOutputStream
.static class
Builds a newXmlStreamWriter
. -
Uses of IOSupplier in org.apache.commons.io.serialization