public class MSIPlesseyEncoder extends Object implements BarcodeEncoder
| Modifier and Type | Field and Description |
|---|---|
protected BarSet[] |
CODES_WIDTH |
protected BarSet |
START_CHAR |
protected BarSet |
STOP_CHAR |
| Modifier | Constructor and Description |
|---|---|
protected |
MSIPlesseyEncoder() |
| Modifier and Type | Method and Description |
|---|---|
protected static int |
charToInt(char val) |
String |
computeCheckSum(String text) |
BarSet[] |
encode(String text) |
static BarcodeEncoder |
getInstance() |
String |
toString() |
protected BarSet[] CODES_WIDTH
protected BarSet START_CHAR
protected BarSet STOP_CHAR
public static BarcodeEncoder getInstance()
public String computeCheckSum(String text) throws InvalidAtributeException
computeCheckSum in interface BarcodeEncoderInvalidAtributeExceptionpublic BarSet[] encode(String text) throws InvalidAtributeException
encode in interface BarcodeEncoderInvalidAtributeExceptionprotected static int charToInt(char val)
Copyright © 2016 jufeng. All rights reserved.