public final class UPCEWriter extends UPCEANWriter
BitMatrix
.Modifier and Type | Field and Description |
---|---|
private static int |
CODE_WIDTH |
Constructor and Description |
---|
UPCEWriter() |
Modifier and Type | Method and Description |
---|---|
boolean[] |
encode(java.lang.String contents)
Encode the contents to boolean array expression of one-dimensional barcode.
|
protected java.util.Collection<BarcodeFormat> |
getSupportedWriteFormats() |
getDefaultMargin
appendPattern, checkNumeric, encode, encode, encode
private static final int CODE_WIDTH
protected java.util.Collection<BarcodeFormat> getSupportedWriteFormats()
getSupportedWriteFormats
in class OneDimensionalCodeWriter
public boolean[] encode(java.lang.String contents)
OneDimensionalCodeWriter
encode
in class OneDimensionalCodeWriter
contents
- barcode contents to encodeboolean[]
of horizontal pixels (false = white, true = black)