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, getDefaultMarginprotected Collection<BarcodeFormat> getSupportedWriteFormats()
getSupportedWriteFormats in class OneDimensionalCodeWriterpublic boolean[] encode(String contents)
OneDimensionalCodeWriterencode in class OneDimensionalCodeWritercontents - barcode contents to encodeboolean[] of horizontal pixels (false = white, true = black)protected boolean[] encode(String contents, Map<EncodeHintType,?> hints)
OneDimensionalCodeWriterencode.encode in class OneDimensionalCodeWritercontents - barcode contents to encodehints - encoding hintsboolean[] of horizontal pixels (false = white, true = black)Copyright © 2007–2022. All rights reserved.