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 java.lang.Object
- implements Writer
- Author:
- Jacob Haynes
Method Summary |
BitMatrix |
encode(java.lang.String contents,
BarcodeFormat format,
boolean compact,
int width,
int height,
int minCols,
int maxCols,
int minRows,
int maxRows,
Compaction compaction)
|
BitMatrix |
encode(java.lang.String contents,
BarcodeFormat format,
int width,
int height)
Encode a barcode using the default settings. |
BitMatrix |
encode(java.lang.String contents,
BarcodeFormat format,
int width,
int height,
java.util.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(java.lang.String contents,
BarcodeFormat format,
int width,
int height,
java.util.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(java.lang.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
public BitMatrix encode(java.lang.String contents,
BarcodeFormat format,
boolean compact,
int width,
int height,
int minCols,
int maxCols,
int minRows,
int maxRows,
Compaction compaction)
throws WriterException
- Throws:
WriterException