|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Writer
The base class for all objects which encode/generate a barcode image.
Method Summary | ||
---|---|---|
ByteMatrix |
encode(String contents,
BarcodeFormat format,
int width,
int height)
Encode a barcode using the default settings. |
|
ByteMatrix |
encode(String contents,
BarcodeFormat format,
int width,
int height,
Hashtable hints)
Encode a barcode using the provided parameters. |
Method Detail |
---|
ByteMatrix encode(String contents, BarcodeFormat format, int width, int height) throws WriterException
contents
- The contents to encode in the barcodeformat
- The barcode format to generatewidth
- The preferred width in pixelsheight
- The preferred height in pixels
WriterException
ByteMatrix encode(String contents, BarcodeFormat format, int width, int height, Hashtable hints) throws WriterException
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
WriterException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal