"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "core/src/main/java/com/google/zxing/DecodeHintType.java" between
zxing-zxing-3.4.1.tar.gz and zxing-zxing-3.5.0.tar.gz

About: ZXing ("zebra crossing") is a multi-format 1D/2D barcode image processing library implemented in Java, with ports to other languages. Info: Project is in maintenance mode (no active development).

DecodeHintType.java  (zxing-zxing-3.4.1):DecodeHintType.java  (zxing-zxing-3.5.0)
skipping to change at line 100 skipping to change at line 100
/** /**
* Allowed extension lengths for EAN or UPC barcodes. Other formats will ignor e this. * Allowed extension lengths for EAN or UPC barcodes. Other formats will ignor e this.
* Maps to an {@code int[]} of the allowed extension lengths, for example [2], [5], or [2, 5]. * Maps to an {@code int[]} of the allowed extension lengths, for example [2], [5], or [2, 5].
* If it is optional to have an extension, do not set this hint. If this is se t, * If it is optional to have an extension, do not set this hint. If this is se t,
* and a UPC or EAN barcode is found but an extension is not, then no result w ill be returned * and a UPC or EAN barcode is found but an extension is not, then no result w ill be returned
* at all. * at all.
*/ */
ALLOWED_EAN_EXTENSIONS(int[].class), ALLOWED_EAN_EXTENSIONS(int[].class),
/**
* If true, also tries to decode as inverted image. All configured decoders ar
e simply called a
* second time with an inverted image. Doesn't matter what it maps to; use {@l
ink Boolean#TRUE}.
*/
ALSO_INVERTED(Void.class),
// End of enumeration values. // End of enumeration values.
; ;
/** /**
* Data type the hint is expecting. * Data type the hint is expecting.
* Among the possible values the {@link Void} stands out as being used for * Among the possible values the {@link Void} stands out as being used for
* hints that do not expect a value to be supplied (flag hints). Such hints * hints that do not expect a value to be supplied (flag hints). Such hints
* will possibly have their value ignored, or replaced by a * will possibly have their value ignored, or replaced by a
* {@link Boolean#TRUE}. Hint suppliers should probably use * {@link Boolean#TRUE}. Hint suppliers should probably use
* {@link Boolean#TRUE} as directed by the actual hint documentation. * {@link Boolean#TRUE} as directed by the actual hint documentation.
 End of changes. 1 change blocks. 
0 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)