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
WriterException
public static QRCode encode(String content, ErrorCorrectionLevel ecLevel, Map<EncodeHintType,?> hints) throws WriterException
WriterException
Copyright © 2007-2014. All Rights Reserved.