Class BinaryImageHandler


  • @API(type=EXTENDABLE,
         src=PUBLIC)
    public abstract class BinaryImageHandler
    extends ImageHandler
    Special handler for binary images like EPS or AI... The handler will receive an input stream for the image and it needs to state if it is interested in handling it...
    Since:
    18
    • Constructor Detail

      • BinaryImageHandler

        public BinaryImageHandler()
    • Method Detail

      • canHandle

        public abstract boolean canHandle​(java.io.InputStream inputStream)
        Check if can handle this input stream. Ideally will read only some metadata from the stream.
        Parameters:
        inputStream - The binary image input stream. Never NULL.
        Returns:
        true if can handle this document.