Uses of Interface
org.apache.commons.io.function.IOSupplier
-
Packages that use IOSupplier Package Description org.apache.commons.io Provides classes for working with streams, readers, writers and files.org.apache.commons.io.build Provides classes to implement the builder pattern for IO classes.org.apache.commons.io.file Provides extensions in the realm ofjava.nio.file.org.apache.commons.io.filefilter org.apache.commons.io.function Provides IO-only related functional interfaces for lambda expressions and method references.org.apache.commons.io.input Provides implementations of input classes, such asInputStreamandReader.org.apache.commons.io.monitor Provides a component for monitoring file system events (directory and file create, update and delete events).org.apache.commons.io.output Provides implementations of output classes, such asOutputStreamandWriter.org.apache.commons.io.serialization 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 IOSupplier Modifier and Type Method Description static java.lang.StringIOUtils. toString(IOSupplier<java.io.InputStream> input, java.nio.charset.Charset charset)Gets the contents of anInputStreamfrom a supplier as a String using the specified character encoding.static java.lang.StringIOUtils. toString(IOSupplier<java.io.InputStream> input, java.nio.charset.Charset charset, IOSupplier<java.lang.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 IOSupplier Modifier and Type Class Description classAbstractOrigin<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 java.io.RandomAccessFile,B extends AbstractOrigin.AbstractRandomAccessFileOrigin<T,B>>ARandomAccessFileorigin.static classAbstractOrigin.ByteArrayOriginAbyte[]origin.static classAbstractOrigin.ChannelOriginAChannelorigin.static classAbstractOrigin.CharSequenceOriginACharSequenceorigin.static classAbstractOrigin.FileOriginAFileorigin.static classAbstractOrigin.InputStreamOriginAnInputStreamorigin.static classAbstractOrigin.IORandomAccessFileOriginAnIORandomAccessFileorigin.static classAbstractOrigin.OutputStreamOriginAnOutputStreamorigin.static classAbstractOrigin.PathOriginAPathorigin.static classAbstractOrigin.RandomAccessFileOriginARandomAccessFileorigin.static classAbstractOrigin.ReaderOriginAReaderorigin.static classAbstractOrigin.URIOriginAURIorigin.static classAbstractOrigin.WriterOriginAWriterorigin.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.file
Classes in org.apache.commons.io.file that implement IOSupplier Modifier and Type Class Description static classAccumulatorPathVisitor.BuilderBuilds instances ofAccumulatorPathVisitor.static classCountingPathVisitor.AbstractBuilder<T,B extends CountingPathVisitor.AbstractBuilder<T,B>>Builds instances ofCountingPathVisitor.static classCountingPathVisitor.BuilderBuilds 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 IOSupplier Modifier and Type Method Description static longPathUtils. copy(IOSupplier<java.io.InputStream> in, java.nio.file.Path target, java.nio.file.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 Modifier and Type Class Description static classWildcardFileFilter.BuilderBuilds a newWildcardFileFilterinstance. -
Uses of IOSupplier in org.apache.commons.io.function
Methods in org.apache.commons.io.function that return IOSupplier Modifier and Type Method Description default IOSupplier<R>IOFunction. compose(java.util.function.Supplier<? extends T> before)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 IOSupplier Modifier and Type Method Description default <R> RIOStream. collect(IOSupplier<R> supplier, IOBiConsumer<R,? super T> accumulator, IOBiConsumer<R,R> combiner)LikeStream.collect(java.util.function.Supplier, java.util.function.BiConsumer, java.util.function.BiConsumer).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, java.util.function.Supplier<java.lang.String> message)Gets the result from an IO supplier. -
Uses of IOSupplier in org.apache.commons.io.input
-
Uses of IOSupplier in org.apache.commons.io.monitor
Classes in org.apache.commons.io.monitor that implement IOSupplier Modifier and Type Class Description static classFileAlterationObserver.BuilderBuilds instances ofFileAlterationObserver. -
Uses of IOSupplier in org.apache.commons.io.output
-
Uses of IOSupplier in org.apache.commons.io.serialization
Classes in org.apache.commons.io.serialization that implement IOSupplier Modifier and Type Class Description static classValidatingObjectInputStream.BuilderBuilds a newValidatingObjectInputStream.
-