Class ProgressReportingOutputStream

    • Field Detail

      • PROGRESS_EVERY

        private static final int PROGRESS_EVERY
        How much to transfer before we note it.
        See Also:
        Constant Field Values
      • written

        private int written
        How much have we written so far?
      • terminate

        private boolean terminate
        Do we need to output a terminateing newline?
    • Constructor Detail

      • ProgressReportingOutputStream

        public ProgressReportingOutputStream​(OutputStream outStream)
        Constructor.
        Parameters:
        outStream - what to bracket.
      • ProgressReportingOutputStream

        public ProgressReportingOutputStream​(OutputStream outStream,
                                             int size)
        Constructor.
        Parameters:
        outStream - what to bracket.
        size - buffer size