Package com.google.zxing.oned
Class Code93Writer
java.lang.Object
com.google.zxing.oned.OneDimensionalCodeWriter
com.google.zxing.oned.Code93Writer
- All Implemented Interfaces:
Writer
This object renders a CODE93 code as a BitMatrix
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static int
appendPattern
(boolean[] target, int pos, int[] pattern, boolean startColor) Deprecated.without replacement; intended as an internal-only methodboolean[]
Encode the contents to boolean array expression of one-dimensional barcode.protected Collection<BarcodeFormat>
Methods inherited from class com.google.zxing.oned.OneDimensionalCodeWriter
checkNumeric, encode, encode, encode, getDefaultMargin
-
Constructor Details
-
Code93Writer
public Code93Writer()
-
-
Method Details
-
getSupportedWriteFormats
- Overrides:
getSupportedWriteFormats
in classOneDimensionalCodeWriter
-
encode
Description copied from class:OneDimensionalCodeWriter
Encode the contents to boolean array expression of one-dimensional barcode. Start code and end code should be included in result, and side margins should not be included.- Specified by:
encode
in classOneDimensionalCodeWriter
- Parameters:
contents
- barcode contents to encode. It should not be encoded for extended characters.- Returns:
- a
boolean[]
of horizontal pixels (false = white, true = black)
-
appendPattern
@Deprecated protected static int appendPattern(boolean[] target, int pos, int[] pattern, boolean startColor) Deprecated.without replacement; intended as an internal-only method- Parameters:
target
- output to append topos
- start positionpattern
- pattern to appendstartColor
- unused- Returns:
- 9
-