Interface Binary


  • public interface Binary
    Binary data.
    • Method Detail

      • getStream

        InputStream getStream()
        Returns an InputStream representation of this binary. Each call to getStream() returns a new stream. The caller is responsible for calling close() on the returned stream.
        Returns:
        A stream representation of this binary.
        Throws:
        IllegalStateException - if dispose() has already been called.
        WebFileException - if another error occurs.
      • dispose

        void dispose()
        Releases all resources associated with this binary and informs the implementation that these resources may now be reclaimed. An application should call this method when it is finished with the binary object.