Class AImage

  • Direct Known Subclasses:
    BarcodeImage, PageDocumentImage

    public abstract class AImage
    extends java.lang.Object

    Class that contains information about an image that will be include in a signature report.

    Project:

    Library for the integration with the services of @Firma, eVisor and TS@.

    Version:
    1.0, 19/08/2020.
    • Constructor Summary

      Constructors 
      Constructor Description
      AImage()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getContent()
      Gets the value of the bytes array of the image.
      java.lang.String getContentType()
      Gets the value of the image content type.
      java.lang.String getLocation()
      Gets the value of the URL location.
      void setContent​(byte[] attContent)
      Sets the value of the bytes array of the image.
      void setContentType​(java.lang.String type)
      Sets the value of the image content type.
      void setLocation​(java.lang.String url)
      Sets the value of the URL location.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AImage

        public AImage()
    • Method Detail

      • getLocation

        public java.lang.String getLocation()
        Gets the value of the URL location.
        Returns:
        the value of the URL location.
      • setLocation

        public void setLocation​(java.lang.String url)
        Sets the value of the URL location.
        Parameters:
        url - The value for the URL location.
      • getContent

        public byte[] getContent()
        Gets the value of the bytes array of the image.
        Returns:
        the value of the bytes array of the image.
      • setContent

        public void setContent​(byte[] attContent)
        Sets the value of the bytes array of the image.
        Parameters:
        attContent - The value for the bytes array of the image.
      • getContentType

        public java.lang.String getContentType()
        Gets the value of the image content type.
        Returns:
        the value of the image content type.
      • setContentType

        public void setContentType​(java.lang.String type)
        Sets the value of the image content type.
        Parameters:
        type - The value for the image content type.