-
Methods in io.nayuki.qrcodegen that return QrSegment
Modifier and Type |
Method |
Description |
static QrSegment |
QrSegment.makeAlphanumeric(java.lang.String text) |
Returns a segment representing the specified text string encoded in alphanumeric mode.
|
static QrSegment |
QrSegment.makeBytes(byte[] data) |
Returns a segment representing the specified binary data
encoded in byte mode.
|
static QrSegment |
QrSegment.makeEci(int assignVal) |
Returns a segment representing an Extended Channel Interpretation
(ECI) designator with the specified assignment value.
|
static QrSegment |
QrSegmentAdvanced.makeKanji(java.lang.String text) |
Returns a segment representing the specified text string encoded in kanji mode.
|
static QrSegment |
QrSegment.makeNumeric(java.lang.String digits) |
Returns a segment representing the specified string of decimal digits encoded in numeric mode.
|
Methods in io.nayuki.qrcodegen that return types with arguments of type QrSegment
Modifier and Type |
Method |
Description |
static java.util.List<QrSegment> |
QrSegment.makeSegments(java.lang.String text) |
Returns a list of zero or more segments to represent the specified Unicode text string.
|
static java.util.List<QrSegment> |
QrSegmentAdvanced.makeSegmentsOptimally(java.lang.String text,
QrCode.Ecc ecl,
int minVersion,
int maxVersion) |
Returns a list of zero or more segments to represent the specified Unicode text string.
|
Method parameters in io.nayuki.qrcodegen with type arguments of type QrSegment
Modifier and Type |
Method |
Description |
static QrCode |
QrCode.encodeSegments(java.util.List<QrSegment> segs,
QrCode.Ecc ecl) |
Returns a QR Code representing the specified segments at the specified error correction
level.
|
static QrCode |
QrCode.encodeSegments(java.util.List<QrSegment> segs,
QrCode.Ecc ecl,
int minVersion,
int maxVersion,
int mask,
boolean boostEcl) |
Returns a QR Code representing the specified segments with the specified encoding parameters.
|