Class DbxStreamReader.OutputStreamCopier

  • Enclosing class:
    DbxStreamReader<E extends java.lang.Throwable>

    public static final class DbxStreamReader.OutputStreamCopier
    extends DbxStreamReader<java.io.IOException>
    A DbxStreamReader that gets its source data from the given OutputStream. The OutputStream will be closed automatically.
    • Constructor Detail

      • OutputStreamCopier

        public OutputStreamCopier​(java.io.OutputStream dest)
    • Method Detail

      • read

        public void read​(NoThrowInputStream source)
                  throws java.io.IOException
        Description copied from class: DbxStreamReader
        Write all the data you plan to write to in. Do not call close() on the stream (the stream will be closed automatically).
        Specified by:
        read in class DbxStreamReader<java.io.IOException>
        Throws:
        java.io.IOException