com.google.zxing.pdf417.encoder
Class PDF417Writer
java.lang.Object
com.google.zxing.pdf417.encoder.PDF417Writer
- All Implemented Interfaces:
- Writer
public final class PDF417Writer
- extends Object
- implements Writer
- Author:
- Jacob Haynes, qwandor@google.com (Andrew Walbran)
|
Method Summary |
BitMatrix |
encode(String contents,
BarcodeFormat format,
boolean compact,
int width,
int height,
int minCols,
int maxCols,
int minRows,
int maxRows,
Compaction compaction)
Deprecated. Use encode(String, BarcodeFormat, int, int, Map) instead, with hints to
specify the encoding options. |
BitMatrix |
encode(String contents,
BarcodeFormat format,
int width,
int height)
Encode a barcode using the default settings. |
BitMatrix |
encode(String contents,
BarcodeFormat format,
int width,
int height,
Map<EncodeHintType,?> hints)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PDF417Writer
public PDF417Writer()
encode
public BitMatrix encode(String contents,
BarcodeFormat format,
int width,
int height,
Map<EncodeHintType,?> hints)
throws WriterException
- Specified by:
encode in interface Writer
- Parameters:
contents - The contents to encode in the barcodeformat - The barcode format to generatewidth - The preferred width in pixelsheight - The preferred height in pixelshints - Additional parameters to supply to the encoder
- Throws:
WriterException
encode
public BitMatrix encode(String contents,
BarcodeFormat format,
int width,
int height)
throws WriterException
- Description copied from interface:
Writer
- Encode a barcode using the default settings.
- Specified by:
encode in interface Writer
- Parameters:
contents - The contents to encode in the barcodeformat - The barcode format to generatewidth - The preferred width in pixelsheight - The preferred height in pixels
- Throws:
WriterException
encode
@Deprecated
public BitMatrix encode(String contents,
BarcodeFormat format,
boolean compact,
int width,
int height,
int minCols,
int maxCols,
int minRows,
int maxRows,
Compaction compaction)
throws WriterException
- Deprecated. Use
encode(String, BarcodeFormat, int, int, Map) instead, with hints to
specify the encoding options.
- Throws:
WriterException
Copyright © 2007-2012. All Rights Reserved.