Interface InputStreamBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      Cleanup any temporary resources associated with the last returned stream.
      java.io.InputStream createInputStream()
      Return a stream in a state where no bytes have been read from it yet.
    • Method Detail

      • createInputStream

        java.io.InputStream createInputStream()
                                       throws java.io.IOException
        Return a stream in a state where no bytes have been read from it yet. For example a newly created stream meets these criteria. The caller should handle closing the stream.
        Throws:
        java.io.IOException
      • close

        void close()
            throws java.io.IOException
        Cleanup any temporary resources associated with the last returned stream.
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException