Package com.itextpdf.text.pdf.qrcode
Class Version.ECBlocks
- java.lang.Object
-
- com.itextpdf.text.pdf.qrcode.Version.ECBlocks
-
- Enclosing class:
- Version
public static final class Version.ECBlocks extends java.lang.ObjectEncapsulates a set of error-correction blocks in one symbol version. Most versions will use blocks of differing sizes within one version, so, this encapsulates the parameters for each set of blocks. It also holds the number of error-correction codewords per block since it will be the same across all blocks within one version.
-
-
Field Summary
Fields Modifier and Type Field Description private Version.ECB[]ecBlocksprivate intecCodewordsPerBlock
-
Constructor Summary
Constructors Constructor Description ECBlocks(int ecCodewordsPerBlock, Version.ECB ecBlocks)ECBlocks(int ecCodewordsPerBlock, Version.ECB ecBlocks1, Version.ECB ecBlocks2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Version.ECB[]getECBlocks()intgetECCodewordsPerBlock()intgetNumBlocks()intgetTotalECCodewords()
-
-
-
Field Detail
-
ecCodewordsPerBlock
private final int ecCodewordsPerBlock
-
ecBlocks
private final Version.ECB[] ecBlocks
-
-
Constructor Detail
-
ECBlocks
ECBlocks(int ecCodewordsPerBlock, Version.ECB ecBlocks)
-
ECBlocks
ECBlocks(int ecCodewordsPerBlock, Version.ECB ecBlocks1, Version.ECB ecBlocks2)
-
-
Method Detail
-
getECCodewordsPerBlock
public int getECCodewordsPerBlock()
-
getNumBlocks
public int getNumBlocks()
-
getTotalECCodewords
public int getTotalECCodewords()
-
getECBlocks
public Version.ECB[] getECBlocks()
-
-