DataMatrixEccEncoder
Contents
[
Hide
]
Inheritance: java.lang.Object
public class DataMatrixEccEncoder
The class for encoding
Constructors
Constructor | Description |
---|---|
DataMatrixEccEncoder() |
Methods
Method | Description |
---|---|
encode(String codeText, DataMatrixEccType eccType, DataMatrixEncodeMode mode) | Encode the codetext to ECC 000-140 datamatrix |
encodeUnprotectedBits(System.Collections.Generic.List |
Encodes list of unprotected bits to the DataMatrix (corresponding steps 3-6 from par.6.2 of ISO/IEC FCD 16022 ) |
equals(Object arg0) | |
getClass() | |
getCrcForPrefix(String codeText, int formatId) | Encode ASCII, add prefix, revere by 8, make CRC sequence and reverse |
hashCode() | |
notify() | |
notifyAll() | |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
DataMatrixEccEncoder()
public DataMatrixEccEncoder()
encode(String codeText, DataMatrixEccType eccType, DataMatrixEncodeMode mode)
public String encode(String codeText, DataMatrixEccType eccType, DataMatrixEncodeMode mode)
Encode the codetext to ECC 000-140 datamatrix
Parameters:
Parameter | Type | Description |
---|---|---|
codeText | java.lang.String | Input codetext |
eccType | DataMatrixEccType | ECC 000, 050, 080, 100 or 140. |
mode | DataMatrixEncodeMode | Datamatrix encodation mode |
Returns: java.lang.String - Datamatrix string
encodeUnprotectedBits(System.Collections.Generic.List bits, DataMatrixEccType eccType)
public byte[][] encodeUnprotectedBits(System.Collections.Generic.List<Byte> bits, DataMatrixEccType eccType)
Encodes list of unprotected bits to the DataMatrix (corresponding steps 3-6 from par.6.2 of ISO/IEC FCD 16022 )
Parameters:
Parameter | Type | Description |
---|---|---|
bits | com.aspose.ms.System.Collections.Generic.List<java.lang.Byte> | Input list of bits |
eccType | DataMatrixEccType | The type of ECC from 000 to 140 |
Returns: byte[][] - DataMatrix without bounds
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class>
getCrcForPrefix(String codeText, int formatId)
public static System.Collections.Generic.List<Byte> getCrcForPrefix(String codeText, int formatId)
Encode ASCII, add prefix, revere by 8, make CRC sequence and reverse
Parameters:
Parameter | Type | Description |
---|---|---|
codeText | java.lang.String | Input codetext |
formatId | int | format ID |
Returns: List - CRC part of the prefix
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |