Lines Matching refs:QrCode
40 * <li><p>High level: Take the payload data and call {@link QrCode#encodeText(String,Ecc)}
41 * or {@link QrCode#encodeBinary(byte[],Ecc)}.</p></li>
43 * and call {@link QrCode#encodeSegments(List,Ecc)} or
44 * {@link QrCode#encodeSegments(List,Ecc,int,int,int,boolean)}</p></li>
47 * and call the {@link QrCode#QrCode(int,Ecc,byte[],int) constructor}.</p></li>
52 public final class QrCode {
69 public static QrCode encodeText(String text, Ecc ecl) {
89 public static QrCode encodeBinary(byte[] data, Ecc ecl) {
114 public static QrCode encodeSegments(List<QrSegment> segs, Ecc ecl) {
143 public static QrCode encodeSegments(List<QrSegment> segs, Ecc ecl, int minVersion, int maxVersion, int mask, boolean boostEcl) {
192 return new QrCode(version, ecl, bb.getBytes(), mask);
238 public QrCode(int ver, Ecc ecl, byte[] dataCodewords, int msk) {