Class RepeatingInputStream

java.lang.Object
java.io.InputStream
org.apache.nifi.stream.io.RepeatingInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class RepeatingInputStream extends InputStream
  • Field Details

    • toRepeat

      private final byte[] toRepeat
    • maxIterations

      private final int maxIterations
    • bais

      private InputStream bais
    • repeatCount

      private int repeatCount
  • Constructor Details

    • RepeatingInputStream

      public RepeatingInputStream(byte[] toRepeat, int iterations)
  • Method Details