Package org.apache.commons.io.input
Class InfiniteCircularInputStream
java.lang.Object
java.io.InputStream
org.apache.commons.io.input.AbstractInputStream
org.apache.commons.io.input.CircularInputStream
org.apache.commons.io.input.InfiniteCircularInputStream
- All Implemented Interfaces:
- Closeable,- AutoCloseable
An 
InputStream that infinitely repeats the provided bytes.
 
 Closing this input stream has no effect. The methods in this class can be called after the stream has been closed
 without generating an IOException.
 
- Since:
- 2.6
- 
Constructor SummaryConstructorsConstructorDescriptionInfiniteCircularInputStream(byte[] repeatContent) Constructs an instance from the specified array of bytes.
- 
Method SummaryMethods inherited from class org.apache.commons.io.input.CircularInputStreamavailable, close, readMethods inherited from class org.apache.commons.io.input.AbstractInputStreamisClosed, setClosedMethods inherited from class java.io.InputStreammark, markSupported, read, read, reset, skip
- 
Constructor Details- 
InfiniteCircularInputStreamConstructs an instance from the specified array of bytes.- Parameters:
- repeatContent- Input buffer to be repeated this buffer is not copied.
 
 
-