|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sap.ip.me.api.pios.symbology.Symbology
com.sap.ip.me.api.pios.symbology.SymbologyLinear
com.sap.ip.me.api.pios.symbology.Code128
Represents the Code 128 symbology.
Code 128 is variable-length, high-density format capable of encoding all ASCII characters, all extended ASCII characters and 4 non-data function characters. It allows numeric data to be represented in a compact, double-density mode, two data digits for every symbol character. It has three subsets: A, B & C, which are just different ways of interpreting the data encoded by the bar code. This symbol is used in the shipping industry for inventory ID and tracking purposes, distribution applications and serialized carton tracking.
The following options can be set for this symbology:
...
Code128 code128 = new Code128(Code128.A);
...
Field Summary | |
static long |
A
Constant to indicate a barcode that starts with code set A option. |
static long |
AUTO
Constant to indicate a barcode where the code set is determined automatically option. |
static long |
B
Constant to indicate a barcode that starts with code set B option. |
static long |
C
Constant to indicate a barcode that starts with code set C option. |
Fields inherited from class com.sap.ip.me.api.pios.symbology.Symbology |
options |
Constructor Summary | |
Code128()
Constructs a new Code128 object. |
|
Code128(long options)
Constructs a new Code128 object with the symbology options provided. |
Method Summary | |
java.lang.String |
getName()
Returns the symbology name. |
int |
getType()
Returns the symbology type. |
void |
setOptions(long options)
Sets the configured options for the symbology. |
Methods inherited from class com.sap.ip.me.api.pios.symbology.Symbology |
getOptions, validateOptions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final long AUTO
public static final long A
public static final long B
public static final long C
Constructor Detail |
public Code128()
public Code128(long options) throws InvalidSymbologyException
The options value is either one of the option constants defined by this class,
or must be built by bitwise OR'ing together (that is, using
the long
"|" operator) two or more of those option constants.
options
- the symbology options mask
InvalidSymbologyException
- thrown if the received options are invalid for this symbologyMethod Detail |
public java.lang.String getName()
getName
in class Symbology
public int getType()
getType
in class Symbology
SymbologyType
public void setOptions(long options) throws InvalidSymbologyException
setOptions
in class Symbology
options
- the symbology options mask
InvalidSymbologyException
- thrown if the received options are invalid for this symbology
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |