Documentation of 'ext.plantuml.com.google.zxing.qrcode.decoder.Version' Java class
Version
ext.plantuml.com.google.zxing.qrcode.decoder

Class Version



  • public final class Version
    extends java.lang.Object
    See ISO 18004:2006 Annex D
    • Method Detail

      • getVersionNumber

        public int getVersionNumber()
      • getAlignmentPatternCenters

        public int[] getAlignmentPatternCenters()
      • getTotalCodewords

        public int getTotalCodewords()
      • getDimensionForVersion

        public int getDimensionForVersion()
      • getProvisionalVersionForDimension

        public static Version getProvisionalVersionForDimension(int dimension)
                                                         throws FormatException

        Deduces version information purely from QR Code dimensions.

        Parameters:
        dimension - dimension in modules
        Returns:
        Version for a QR Code of that dimension
        Throws:
        FormatException - if dimension is not 1 mod 4
      • getVersionForNumber

        public static Version getVersionForNumber(int versionNumber)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.