Class BWQRCodeResponse


  • public class BWQRCodeResponse
    extends java.lang.Object
    Defines the output of the QR Code Generator. Contains a black and white QR code, and the associated boolean matrix.
    • Constructor Summary

      Constructors 
      Constructor Description
      BWQRCodeResponse​(java.awt.image.BufferedImage image, boolean[][] booleanMatrix)
      Constructs a BWQRCodeResponse object from the image and the matrix in parameter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean[][] getBooleanMatrix()  
      java.awt.image.BufferedImage getImage()  
      void setBooleanMatrix​(boolean[][] booleanMatrix)  
      void setImage​(java.awt.image.BufferedImage image)  
      • Methods inherited from class java.lang.Object

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

      • BWQRCodeResponse

        public BWQRCodeResponse​(java.awt.image.BufferedImage image,
                                boolean[][] booleanMatrix)
        Constructs a BWQRCodeResponse object from the image and the matrix in parameter.
        Parameters:
        image - The QR code image
        booleanMatrix - The associated boolean matrix
    • Method Detail

      • getImage

        public java.awt.image.BufferedImage getImage()
        Returns:
        The QR code image
      • setImage

        public void setImage​(java.awt.image.BufferedImage image)
        Parameters:
        image - The QR code image
      • getBooleanMatrix

        public boolean[][] getBooleanMatrix()
        Returns:
        The boolean matrix
      • setBooleanMatrix

        public void setBooleanMatrix​(boolean[][] booleanMatrix)
        Parameters:
        booleanMatrix - The boolean matrix