|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.itextpdf.text.pdf.qrcode.Version
public final class Version
See ISO 18004:2006 Annex D
Nested Class Summary | |
---|---|
static class |
Version.ECB
Encapsualtes the parameters for one error-correction block in one symbol version. |
static class |
Version.ECBlocks
Encapsulates a set of error-correction blocks in one symbol version. |
Method Summary | |
---|---|
int[] |
getAlignmentPatternCenters()
|
int |
getDimensionForVersion()
|
Version.ECBlocks |
getECBlocksForLevel(ErrorCorrectionLevel ecLevel)
|
static Version |
getProvisionalVersionForDimension(int dimension)
Deduces version information purely from QR Code dimensions. |
int |
getTotalCodewords()
|
static Version |
getVersionForNumber(int versionNumber)
|
int |
getVersionNumber()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int getVersionNumber()
public int[] getAlignmentPatternCenters()
public int getTotalCodewords()
public int getDimensionForVersion()
public Version.ECBlocks getECBlocksForLevel(ErrorCorrectionLevel ecLevel)
public static Version getProvisionalVersionForDimension(int dimension)
Deduces version information purely from QR Code dimensions.
dimension
- dimension in modules
Version
for a QR Code of that dimension
FormatException
- if dimension is not 1 mod 4public static Version getVersionForNumber(int versionNumber)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |