|
|||||||||||
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.Code39
Represents the Code 39 Symbology.
Code 39 is widely used in industrial, medical and government applications, including photo finishing, high speed sorting, inventory handling, aluminum, electronics, telecommunications and furniture.
The following options can be set for this symbology:
The default constructor for this class creates a Code 39 symbology with the following options:
STANDARD
...
Code39 code39 = new Code39(Code39.STANDARD | Code39.CHECK_DIGIT_FRENCH_CIP);
...
Field Summary | |
static long |
CHECK_DIGIT_FRENCH_CIP
Constant to indicate Code39 check digit French CIP option. |
static long |
CHECK_DIGIT_MOD43
Constant to indicate Code39 check digit Mod43 option. |
static long |
CHECK_DIGIT_TRANSMIT
Constant to indicate reporting of the bar code check digit. |
static long |
FULLASCII
Constant to indicate Code39 full ascii option. |
static long |
STANDARD
Constant to indicate Code39 standard option. |
Fields inherited from class com.sap.ip.me.api.pios.symbology.Symbology |
options |
Constructor Summary | |
Code39()
Constructs a new Code39 object. |
|
Code39(long options)
Constructs a new Code39 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 STANDARD
public static final long FULLASCII
public static final long CHECK_DIGIT_MOD43
public static final long CHECK_DIGIT_FRENCH_CIP
public static final long CHECK_DIGIT_TRANSMIT
Constructor Detail |
public Code39()
public Code39(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 |