Interface InputSource

    • Method Detail

      • open

        void open()
           throws java.io.IOException
        Opens the stream source.
        Throws:
        java.io.IOException - if an IO error occurs
      • nextChunk

        byte[] nextChunk()
                  throws java.io.IOException
        Reads next "chunk" from this stream.
        Returns:
        the number of bytes read or null if there is nothing more to read.
        Throws:
        java.io.IOException - if an IO error occurs
      • close

        void close()
            throws java.io.IOException
        Closes the stream source.
        Throws:
        java.io.IOException - if an IO error occurs