public final class CodaBarWriter extends OneDimensionalCodeWriter
boolean[]
.Modifier and Type | Field and Description |
---|---|
private static char[] |
ALT_START_END_CHARS |
private static char[] |
CHARS_WHICH_ARE_TEN_LENGTH_EACH_AFTER_DECODED |
private static char |
DEFAULT_GUARD |
private static char[] |
START_END_CHARS |
Constructor and Description |
---|
CodaBarWriter() |
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() |
appendPattern, checkNumeric, encode, encode, encode, getDefaultMargin
private static final char[] START_END_CHARS
private static final char[] ALT_START_END_CHARS
private static final char[] CHARS_WHICH_ARE_TEN_LENGTH_EACH_AFTER_DECODED
private static final char DEFAULT_GUARD
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)