Class Mode
java.lang.Object
ext.plantuml.com.google.zxing.qrcode.decoder.Mode
See ISO 18004:2006, 6.4.1, Tables 2 and 3. This enum encapsulates the various modes in which data can be encoded to bits in the QR code standard.
-
Field Details
-
TERMINATOR
-
NUMERIC
-
ALPHANUMERIC
-
STRUCTURED_APPEND
-
BYTE
-
ECI
-
KANJI
-
FNC1_FIRST_POSITION
-
FNC1_SECOND_POSITION
-
-
Method Details
-
forBits
- Parameters:
bits
- four bits encoding a QR Code data mode- Returns:
Mode
encoded by these bits- Throws:
IllegalArgumentException
- if bits do not correspond to a known mode
-
getCharacterCountBits
-
getBits
public int getBits() -
getName
-
toString
-