public final class Encoder extends Object
限定符和类型 | 方法和说明 |
---|---|
static Mode |
chooseMode(String content) |
static QRCode |
encode(String content,
ErrorCorrectionLevel ecLevel)
Encode "bytes" with the error correction level "ecLevel".
|
static QRCode |
encode(String content,
ErrorCorrectionLevel ecLevel,
Map<EncodeHintType,?> hints) |
public static QRCode encode(String content, ErrorCorrectionLevel ecLevel) throws WriterException
WriterException
public static QRCode encode(String content, ErrorCorrectionLevel ecLevel, Map<EncodeHintType,?> hints) throws WriterException
WriterException
Copyright © 2007–2014. All rights reserved.