public final class Encoder extends Object
| Modifier and Type | Method and Description |
|---|---|
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
WriterExceptionpublic static QRCode encode(String content, ErrorCorrectionLevel ecLevel, Map<EncodeHintType,?> hints) throws WriterException
WriterExceptionCopyright © 2007-2013. All Rights Reserved.