Class FixedPatternFakeInputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class FixedPatternFakeInputStream
    extends org.apache.commons.io.input.CircularInputStream
    Fake InputStream that repeats a pattern "data": test class only. This can safely by used for deterministic / predictable generation of content (same digest)
    • Method Summary

      • Methods inherited from class org.apache.commons.io.input.CircularInputStream

        read
      • Methods inherited from class java.io.InputStream

        available, close, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FixedPatternFakeInputStream

        public FixedPatternFakeInputStream​(long size)