Package com.google.zxing.pdf417
Class PDF417Common
java.lang.Object
com.google.zxing.pdf417.PDF417Common
- Author:
- SITA Lab (kevin.osullivan@sita.aero), Guenther Grau
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int[]The sorted table of all possible symbols.
- 
Method SummaryModifier and TypeMethodDescriptionstatic intgetBitCountSum(int[] moduleBitCount) Deprecated.static intgetCodeword(int symbol) static int[]toIntArray(Collection<Integer> list) 
- 
Field Details- 
NUMBER_OF_CODEWORDSpublic static final int NUMBER_OF_CODEWORDS- See Also:
 
- 
MAX_CODEWORDS_IN_BARCODEpublic static final int MAX_CODEWORDS_IN_BARCODE- See Also:
 
- 
MIN_ROWS_IN_BARCODEpublic static final int MIN_ROWS_IN_BARCODE- See Also:
 
- 
MAX_ROWS_IN_BARCODEpublic static final int MAX_ROWS_IN_BARCODE- See Also:
 
- 
MODULES_IN_CODEWORDpublic static final int MODULES_IN_CODEWORD- See Also:
 
- 
MODULES_IN_STOP_PATTERNpublic static final int MODULES_IN_STOP_PATTERN- See Also:
 
- 
BARS_IN_MODULEpublic static final int BARS_IN_MODULE- See Also:
 
- 
SYMBOL_TABLEpublic static final int[] SYMBOL_TABLEThe sorted table of all possible symbols. Extracted from the PDF417 specification. The index of a symbol in this table corresponds to the index into the codeword table.
 
- 
- 
Method Details- 
getBitCountSumDeprecated.callMathUtils.sum(int[])- Parameters:
- moduleBitCount- values to sum
- Returns:
- sum of values
 
- 
toIntArray
- 
getCodewordpublic static int getCodeword(int symbol) - Parameters:
- symbol- encoded symbol to translate to a codeword
- Returns:
- the codeword corresponding to the symbol.
 
 
- 
MathUtils.sum(int[])