public final class Code128Writer extends OneDimensionalCodeWriter
BitMatrix
.Constructor and Description |
---|
Code128Writer() |
Modifier and Type | Method and Description |
---|---|
boolean[] |
encode(String contents)
Encode the contents to boolean array expression of one-dimensional barcode.
|
protected boolean[] |
encode(String contents,
Map<EncodeHintType,?> hints)
Can be overwritten if the encode requires to read the hints map.
|
protected Collection<BarcodeFormat> |
getSupportedWriteFormats() |
appendPattern, checkNumeric, encode, encode, getDefaultMargin
protected Collection<BarcodeFormat> getSupportedWriteFormats()
getSupportedWriteFormats
in class OneDimensionalCodeWriter
public boolean[] encode(String contents)
OneDimensionalCodeWriter
encode
in class OneDimensionalCodeWriter
contents
- barcode contents to encodeboolean[]
of horizontal pixels (false = white, true = black)protected boolean[] encode(String contents, Map<EncodeHintType,?> hints)
OneDimensionalCodeWriter
encode
.encode
in class OneDimensionalCodeWriter
contents
- barcode contents to encodehints
- encoding hintsboolean[]
of horizontal pixels (false = white, true = black)Copyright © 2007–2022. All rights reserved.