Package org.apache.commons.io.function
Interface IOBaseStream<T,S extends IOBaseStream<T,S,B>,B extends BaseStream<T,B>>     
- Type Parameters:
- T- the type of the stream elements.
- S- the type of the IO stream extending- IOBaseStream.
- B- the type of the stream extending- BaseStream.
- All Superinterfaces:
- AutoCloseable,- Closeable
- All Known Subinterfaces:
- IOStream<T>
public interface IOBaseStream<T,S extends IOBaseStream<T,S,B>,B extends BaseStream<T,B>>     
extends Closeable
Like 
BaseStream but throws IOException.- Since:
- 2.12.0
- 
Method SummaryModifier and TypeMethodDescriptiondefault BaseStream<T, B> default voidclose()LikeBaseStream.close().default booleanLikeBaseStream.isParallel().default IOIterator<T> iterator()LikeBaseStream.iterator().default SonClose(IORunnable closeHandler) default Sparallel()LikeBaseStream.parallel().default SLikeBaseStream.sequential().default IOSpliterator<T> LikeBaseStream.spliterator().default SLikeBaseStream.unordered().unwrap()Unwraps this instance and returns the underlyingStream.Wraps aStream.
- 
Method Details- 
asBaseStream- Returns:
- an UncheckedIOExceptionBaseStream.
 
- 
closeLikeBaseStream.close().- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- See Also:
 
- 
isParallelLikeBaseStream.isParallel().- Returns:
- See delegate.
- See Also:
 
- 
iteratorLikeBaseStream.iterator().- Returns:
- See delegate.
- See Also:
 
- 
onClose- Parameters:
- closeHandler- See- delegate.
- Returns:
- See delegate.
- Throws:
- IOException- if an I/O error occurs.
- See Also:
 
- 
parallelLikeBaseStream.parallel().- Returns:
- See delegate.
- See Also:
 
- 
sequentialLikeBaseStream.sequential().- Returns:
- See delegate.
- See Also:
 
- 
spliteratorLikeBaseStream.spliterator().- Returns:
- See delegate.
- See Also:
 
- 
unorderedLikeBaseStream.unordered().- Returns:
- See delegate.
- See Also:
 
- 
unwrapUnwraps this instance and returns the underlyingStream.Implementations may not have anything to unwrap and that behavior is undefined for now. - Returns:
- the underlying stream.
 
- 
wrapWraps aStream.- Parameters:
- delegate- The delegate.
- Returns:
- An IO stream.
 
 
-