Class AI013x0x1xDecoder
java.lang.Object
com.google.zxing.oned.rss.expanded.decoders.AbstractExpandedDecoder
com.google.zxing.oned.rss.expanded.decoders.AI01decoder
com.google.zxing.oned.rss.expanded.decoders.AI01weightDecoder
com.google.zxing.oned.rss.expanded.decoders.AI013x0x1xDecoder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate final Stringprivate final Stringprivate static final intprivate static final intFields inherited from class com.google.zxing.oned.rss.expanded.decoders.AI01decoder
GTIN_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionAI013x0x1xDecoder(BitArray information, String firstAIdigits, String dateCode) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddWeightCode(StringBuilder buf, int weight) protected intcheckWeight(int weight) private voidencodeCompressedDate(StringBuilder buf, int currentPos) Methods inherited from class com.google.zxing.oned.rss.expanded.decoders.AI01weightDecoder
encodeCompressedWeightMethods inherited from class com.google.zxing.oned.rss.expanded.decoders.AI01decoder
encodeCompressedGtin, encodeCompressedGtinWithoutAIMethods inherited from class com.google.zxing.oned.rss.expanded.decoders.AbstractExpandedDecoder
createDecoder, getGeneralDecoder, getInformation
-
Field Details
-
HEADER_SIZE
private static final int HEADER_SIZE- See Also:
-
WEIGHT_SIZE
private static final int WEIGHT_SIZE- See Also:
-
DATE_SIZE
private static final int DATE_SIZE- See Also:
-
dateCode
-
firstAIdigits
-
-
Constructor Details
-
AI013x0x1xDecoder
-
-
Method Details
-
parseInformation
- Specified by:
parseInformationin classAbstractExpandedDecoder- Throws:
NotFoundException
-
encodeCompressedDate
-
addWeightCode
- Specified by:
addWeightCodein classAI01weightDecoder
-
checkWeight
protected int checkWeight(int weight) - Specified by:
checkWeightin classAI01weightDecoder
-