Method | Description | |
---|---|---|
determineConsecutiveDigitCount ( String msg, int startpos ) : int |
Determines the number of consecutive characters that are encodable using numeric compaction.
|
|
encodeHighLevel ( String msg ) : String |
Performs message encoding of a DataMatrix message using the algorithm described in annex P of ISO/IEC 16022:2000(E).
|
|
encodeHighLevel ( String msg, SymbolShapeHint shape, Dimension minSize, Dimension maxSize, int defaultEncodation ) : String |
Performs message encoding of a DataMatrix message using the algorithm described in annex P of ISO/IEC 16022:2000(E).
|
Method | Description | |
---|---|---|
findMinimums ( float charCounts, int intCharCounts, int min, byte mins ) : int | ||
getMinimumCount ( byte mins ) : int | ||
illegalCharacter ( char c ) : void | ||
isDigit ( char ch ) : bool | ||
isExtendedASCII ( char ch ) : bool | ||
isNativeC40 ( char ch ) : bool | ||
isNativeEDIFACT ( char ch ) : bool | ||
isNativeText ( char ch ) : bool | ||
isNativeX12 ( char ch ) : bool | ||
isSpecialB256 ( char ch ) : bool | ||
isX12TermSep ( char ch ) : bool | ||
lookAheadTest ( String msg, int startpos, int currentMode ) : int | ||
randomize253State ( char ch, int codewordPosition ) : char |
Converts the message to a byte array using the default encoding (cp437) as defined by the specification
|
public static determineConsecutiveDigitCount ( String msg, int startpos ) : int | ||
msg | String | the message |
startpos | int | the start position within the message |
return | int |
public static encodeHighLevel ( String msg ) : String | ||
msg | String | the message |
return | String |
public static encodeHighLevel ( String msg, SymbolShapeHint shape, Dimension minSize, Dimension maxSize, int defaultEncodation ) : String | ||
msg | String | the message |
shape | SymbolShapeHint | requested shape. May be {@code SymbolShapeHint.FORCE_NONE},{@code SymbolShapeHint.FORCE_SQUARE} or {@code SymbolShapeHint.FORCE_RECTANGLE}. |
minSize | Dimension | the minimum symbol size constraint or null for no constraint |
maxSize | Dimension | the maximum symbol size constraint or null for no constraint |
defaultEncodation | int | |
return | String |