Class ChunkInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class ChunkInputStream
    extends InputStream
    This class provides the ability to limit the number of bytes read from the provided InputStream to maxChunkSize.
    Author:
    Andrew Woods Date: Feb 2, 2010
    • Constructor Detail

      • ChunkInputStream

        public ChunkInputStream​(String chunkId,
                                InputStream inputStream,
                                long chunkSize,
                                boolean preserveMD5)