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, skipCopyright © 2002–2021 The Apache Software Foundation. All rights reserved.