public class InfiniteCircularInputStream extends CircularInputStream
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.
| Constructor and Description |
|---|
InfiniteCircularInputStream(byte[] repeatContent)
Creates an instance from the specified array of bytes.
|
readavailable, close, mark, markSupported, read, read, reset, skippublic InfiniteCircularInputStream(byte[] repeatContent)
repeatContent - Input buffer to be repeated this buffer is not copied.Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.