Generate a QR code

Encode an input text as a QR code.

Here is how to use the output BitMatrix object:
com.google.zxing.client.j2se.MatrixToImageWriter.writeToFile(matrix,“PNG”,new File(“some/path.png”)); // Write to a file
com.google.zxing.client.j2se.MatrixToImageWriter.writeToStream(matrix, “PNG”, outputStream); // Write to a stream
java.awt.BufferedImage image = com.google.zxing.client.j2se.MatrixToImageWriter.toBufferedImage(matrix); // Get a BufferedImage

Sources at http://github.com/nicoulaj/bonita-qrcode-connector
Repository URL : http://community.bonitasoft.com/project/generate-qr-code