Package org.apache.commons.io.function
Provides IO-only related functional interfaces for lambda expressions and method references.
-
Interface Summary Interface Description IOBaseStream<T,S extends IOBaseStream<T,S,B>,B extends java.util.stream.BaseStream<T,B>> LikeBaseStreambut throwsIOException.IOBiConsumer<T,U> LikeBiConsumerbut throwsIOException.IOBiFunction<T,U,R> LikeBiFunctionbut throwsIOException.IOBinaryOperator<T> LikeBinaryOperatorbut throwsIOException.IOBooleanSupplier LikeBooleanSupplierbut throwsIOException.IOComparator<T> LikeComparatorbut throwsIOException.IOConsumer<T> LikeConsumerbut throwsIOException.IOFunction<T,R> LikeFunctionbut throwsIOException.IOIntConsumer LikeIntConsumerbut throwsIOException.IOIntSupplier LikeIntSupplierbut throwsIOException.IOIterable<T> LikeIterablebut throwsIOException.IOIterator<E> LikeIteratorbut throwsIOException.IOLongSupplier LikeLongSupplierbut throwsIOException.IOPredicate<T> LikePredicatebut throwsIOException.IOQuadFunction<T,U,V,W,R> Represents a function that accepts four arguments and produces a result.IORunnable LikeRunnablebut throwsIOException.IOSpliterator<T> LikeSpliteratorbut throwsIOException.IOStream<T> LikeStreambut throwsIOException.IOSupplier<T> LikeSupplierbut throwsIOException.IOTriConsumer<T,U,V> LikeBiConsumerbut throwsIOException.IOTriFunction<T,U,V,R> Represents a function that accepts three arguments and produces a result.IOUnaryOperator<T> LikeUnaryOperatorbut throwsIOException. -
Class Summary Class Description Constants Defines package-private constants.Erase ErasesIOExceptionfor the compiler but still throws that exception at runtime.IOBaseStreamAdapter<T,S extends IOBaseStream<T,S,B>,B extends java.util.stream.BaseStream<T,B>> Abstracts anIOBaseStreamimplementation.IOIteratorAdapter<E> Adapts anIteratoras anIOIterator.IOSpliteratorAdapter<T> Adapts anSpliteratoras anIOSpliterator.IOStreamAdapter<T> Adapts anStreamas anIOStream.IOStreams Keep this code package-private for now.Uncheck Unchecks calls by throwingUncheckedIOExceptioninstead ofIOException.UncheckedIOBaseStream<T,S extends IOBaseStream<T,S,B>,B extends java.util.stream.BaseStream<T,B>> UncheckedIOIterable<E> UncheckedIOIterator<E> UncheckedIOSpliterator<T>