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 int
private final String
private final String
private static final int
private static final int
Fields 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 void
addWeightCode
(StringBuilder buf, int weight) protected int
checkWeight
(int weight) private void
encodeCompressedDate
(StringBuilder buf, int currentPos) Methods inherited from class com.google.zxing.oned.rss.expanded.decoders.AI01weightDecoder
encodeCompressedWeight
Methods inherited from class com.google.zxing.oned.rss.expanded.decoders.AI01decoder
encodeCompressedGtin, encodeCompressedGtinWithoutAI
Methods 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:
parseInformation
in classAbstractExpandedDecoder
- Throws:
NotFoundException
-
encodeCompressedDate
-
addWeightCode
- Specified by:
addWeightCode
in classAI01weightDecoder
-
checkWeight
protected int checkWeight(int weight) - Specified by:
checkWeight
in classAI01weightDecoder
-