Package digilib.io

Class ImageStream

    • Constructor Detail

      • ImageStream

        public ImageStream​(InputStream stream,
                           String mimeType)
        Create ImageStream from InputStream and String.
        Parameters:
        stream - the InputStream
        mimeType - the mime-type
    • Method Detail

      • hasInputStream

        public boolean hasInputStream()
        Description copied from class: ImageInput
        Returns if the input can be returned as InputStream.
        Overrides:
        hasInputStream in class ImageInput
        Returns:
        has InputStream
      • setInputStream

        public void setInputStream​(InputStream stream)
        Parameters:
        stream - the stream to set