com.groupdocs.parser

Interfaces

Classes

Exceptions

com.groupdocs.parser

Class PreviewImageData



  • public class PreviewImageData
    extends Object

    Represents preview image data.

    • Method Detail

      • getContents

        public byte[] getContents()

        Gets a byte array containing the preview image.

        Returns:
        A byte array containing the preview image.
      • toStream

        public InputStream toStream()

        Converts the preview image data to a stream.

        Returns:
        A stream containing the preview image data.
      • writeTo

        public void writeTo(InputStream stream)

        Writes the entire contents to a stream.

        Parameters:
        stream - The stream to write the contents to.