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 the builder pattern for IO classes.
Provides classes to work with
java.nio.channels.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
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 and wraps an origin for builders, where an origin is abyte[],Channel,CharSequence,File,InputStream,IORandomAccessFile,OutputStream,Path,RandomAccessFile,Reader,URI, orWriter.static classAbstractOrigin.AbstractRandomAccessFileOrigin<T extends RandomAccessFile,B extends AbstractOrigin.AbstractRandomAccessFileOrigin<T, B>> ARandomAccessFileorigin.static classAbyte[]origin.static classAChannelorigin.static classACharSequenceorigin.static classAFileorigin.static classAnInputStreamorigin.static classAnIORandomAccessFileorigin.static classAnOutputStreamorigin.static classAPathorigin.static classARandomAccessFileorigin.static classAReaderorigin.static classAURIorigin.static classBuilds URIOpenOption.static classAWriterorigin.classAbstractOriginSupplier<T,B extends AbstractOriginSupplier<T, B>> classAbstractStreamBuilder<T,B extends AbstractStreamBuilder<T, B>> Abstracts building a typed instance of typeTwhereTis unbounded.classAbstractSupplier<T,B extends AbstractSupplier<T, B>> Abstracts supplying an instance of typeTwhereTis unbounded. -
Uses of IOSupplier in org.apache.commons.io.channels
Classes in org.apache.commons.io.channels that implement IOSupplierModifier and TypeClassDescriptionstatic classBuilds forByteArraySeekableByteChannel.static classFilterByteChannel.AbstractBuilder<F extends FilterByteChannel<C>,C extends ByteChannel, B extends FilterByteChannel.AbstractBuilder<F, C, B>> Builds instances ofFilterByteChannelfor subclasses.static classBuilds instances ofFilterByteChannel.static classFilterChannel.AbstractBuilder<F extends FilterChannel<C>,C extends Channel, B extends FilterChannel.AbstractBuilder<F, C, B>> Builds instances ofFilterChannelfor subclasses.static classBuilds instances ofFilterChannel.static classFilterFileChannel.AbstractBuilder<F extends FilterFileChannel,C extends FileChannel, B extends FilterFileChannel.AbstractBuilder<F, C, B>> Builds instances ofFilterFileChannelfor subclasses.static classBuilds instances ofFilterFileChannel.static classFilterReadableByteChannel.AbstractBuilder<F extends FilterReadableByteChannel<C>,C extends ReadableByteChannel, B extends FilterReadableByteChannel.AbstractBuilder<F, C, B>> Builds instances ofFilterReadableByteChannelfor subclasses.static classBuilds instances ofFilterByteChannel.static classFilterSeekableByteChannel.AbstractBuilder<F extends FilterSeekableByteChannel<C>,C extends SeekableByteChannel, B extends FilterSeekableByteChannel.AbstractBuilder<F, C, B>> Builds instances ofFilterSeekableByteChannelfor subclasses.static classBuilds instances ofFilterSeekableByteChannel.static classFilterWritableByteChannel.AbstractBuilder<F extends FilterWritableByteChannel<C>,C extends WritableByteChannel, B extends FilterWritableByteChannel.AbstractBuilder<F, C, B>> Builds instances ofFilterWritableByteChannelfor subclasses.static classBuilds instances ofFilterByteChannel. -
Uses of IOSupplier in org.apache.commons.io.file
Classes in org.apache.commons.io.file that implement IOSupplierModifier and TypeClassDescriptionstatic classBuilds instances ofAccumulatorPathVisitor.static classCountingPathVisitor.AbstractBuilder<T,B extends CountingPathVisitor.AbstractBuilder<T, B>> Builds instances ofCountingPathVisitor.static classBuilds instances ofCountingPathVisitor.protected static classSimplePathVisitor.AbstractBuilder<T,B extends AbstractSupplier<T, B>> Abstracts builder for subclasses.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 classConstructs a new builder forCloseShieldInputStream.static classBuilds a newMemoryMappedFileInputStream.static classDeprecated.Builds a newMessageDigestCalculatingInputStream.static classBuilds newMessageDigestInputStream.static classFor subclassing builders fromBoundedInputStreamsubclassses.static classBuilds instances ofObservableInputStream.protected static classProxyInputStream.AbstractBuilder<T,B extends AbstractStreamBuilder<T, B>> Abstracts builder properties for subclasses.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 newXmlStreamReader. -
Uses of IOSupplier in org.apache.commons.io.monitor
Classes in org.apache.commons.io.monitor that implement IOSupplier -
Uses of IOSupplier in org.apache.commons.io.output
Classes in org.apache.commons.io.output that implement IOSupplierModifier and TypeClassDescriptionstatic classBuilds a newChunkedOutputStream.static classBuilds a newDeferredFileOutputStream.static classBuilds a newFileWriterWithEncoding.static classBuilds a newFlushShieldOutputStream.static classBuilds a newLockableFileWriter.static classBuilds instances ofProxyOutputStream.static final classBuilds a newRandomAccessFileOutputStream.static classBuilds a newUncheckedFilterOutputStream.static classBuilds a newUncheckedFilterWriter.static classBuilds a newUnsynchronizedByteArrayOutputStream.static classBuilds a newWriterOutputStream.static classBuilds a newXmlStreamWriter. -
Uses of IOSupplier in org.apache.commons.io.serialization
Classes in org.apache.commons.io.serialization that implement IOSupplier