Uses of Interface
org.apache.commons.io.function.IOSupplier
Packages that use 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 implementations of output classes, such as
OutputStream and
Writer.-
Uses of IOSupplier in org.apache.commons.io
Methods in org.apache.commons.io with parameters of type IOSupplierModifier and TypeMethodDescriptionstatic StringIOUtils.toString(IOSupplier<InputStream> input, Charset charset) Gets the contents of anInputStreamfrom a supplier as a String using the specified character encoding.static StringIOUtils.toString(IOSupplier<InputStream> input, Charset charset, IOSupplier<String> defaultString) Gets the contents of anInputStreamfrom a supplier as a String using the specified character encoding. -
Uses of IOSupplier in org.apache.commons.io.build
Classes in org.apache.commons.io.build that implement IOSupplierModifier and TypeClassDescriptionclassAbstractOrigin<T,B extends AbstractOrigin<T, B>> Abstracts the origin of data for builders like aFile,Path,Reader,Writer,InputStream,OutputStream, andURI.static classAbyte[]origin.static classACharSequenceorigin.static classAFileorigin.static classAnInputStreamorigin.static classAnOutputStreamorigin.static classAPathorigin.static classAnReaderorigin.static classAURIorigin.static classAnWriterorigin.classAbstractOriginSupplier<T,B extends AbstractOriginSupplier<T, B>> Abstracts building an instance ofT.classAbstractStreamBuilder<T,B extends AbstractStreamBuilder<T, B>> Abstracts building a typed instance ofT.classAbstractSupplier<T,B extends AbstractSupplier<T, B>> Abstracts supplying an instance ofT. -
Uses of IOSupplier in org.apache.commons.io.file
Methods in org.apache.commons.io.file with parameters of type IOSupplierModifier and TypeMethodDescriptionstatic longPathUtils.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
Classes in org.apache.commons.io.filefilter that implement IOSupplier -
Uses of IOSupplier in org.apache.commons.io.function
Methods in org.apache.commons.io.function that return IOSupplierModifier and TypeMethodDescriptiondefault IOSupplier<R>Returns a composedIOFunctionthat first applies thebeforefunction to its input, and then applies this function to the result.default IOSupplier<R>IOFunction.compose(IOSupplier<? extends T> before) Returns a composedIOFunctionthat first applies thebeforefunction to its input, and then applies this function to the result.Methods in org.apache.commons.io.function with parameters of type IOSupplierModifier and TypeMethodDescriptiondefault <R> RIOStream.collect(IOSupplier<R> supplier, IOBiConsumer<R, ? super T> accumulator, IOBiConsumer<R, R> combiner) default IOSupplier<R>IOFunction.compose(IOSupplier<? extends T> before) Returns a composedIOFunctionthat first applies thebeforefunction to its input, and then applies this function to the result.static <T> TUncheck.get(IOSupplier<T> supplier) Gets the result from an IO supplier.static <T> TUncheck.get(IOSupplier<T> supplier, Supplier<String> message) Gets the result from an IO supplier. -
Uses of IOSupplier in org.apache.commons.io.input
Classes in org.apache.commons.io.input that implement IOSupplierModifier and TypeClassDescriptionstatic classBuilds a newAutoCloseInputStreaminstance.static classBuilds a newBOMInputStream.static classBuilds a newBoundedInputStream.static classBuilds a newBufferedFileChannelInputStream.static classBuilds a newCharSequenceInputStream.static classBuilds a newChecksumInputStream.static classBuilds a newMemoryMappedFileInputStream.static classDeprecated.Builds a newMessageDigestCalculatingInputStream.static classBuilds newMessageDigestInputStream.static classBuilds a newQueueInputStream.static classBuilds a newRandomAccessFileInputStream.static classBuilds a newReadAheadInputStream.static classBuilds a newReaderInputStream.static classBuilds a newReversedLinesFileReader.static classBuilds a newTailer.static classBuilds a newThrottledInputStream.static classBuilds a newUncheckedBufferedReader.static classBuilds a newUncheckedFilterInputStream.static classBuilds a newUncheckedFilterReader.static classBuilds a newUnsynchronizedBufferedInputStream.static classBuilds a newUnsynchronizedByteArrayInputStream.static classBuilds a newUnsynchronizedFilterInputStream.static classBuilds a newXmlStreamWriter. -
Uses of IOSupplier in org.apache.commons.io.output
Classes in org.apache.commons.io.output that implement IOSupplierModifier and TypeClassDescriptionstatic classBuilds a newUnsynchronizedByteArrayOutputStream.static classBuilds a newDeferredFileOutputStream.static classBuilds a newFileWriterWithEncoding.static classBuilds a newLockableFileWriter.static classBuilds a newUncheckedFilterOutputStream.static classBuilds a newUncheckedFilterWriter.static classBuilds a newUnsynchronizedByteArrayOutputStream.static classBuilds a newWriterOutputStream.static classBuilds a newXmlStreamWriter.