public final class BarcodeUtil extends Object
修飾子とタイプ | メソッドと説明 |
---|---|
static byte[] |
getBarcodeBytes(String contents,
com.google.zxing.BarcodeFormat barcodeFormat,
int width,
int height)
バーコードのバイト配列を返却.
|
static byte[] |
getBarcodeBytes(String contents,
com.google.zxing.BarcodeFormat barcodeFormat,
int width,
int height,
String fileFormat)
バーコードのバイト配列を返却.
|
static byte[] |
getQRCodeBytes(String contents,
int width,
int height)
QRコードのバイト配列を返却.
|
static byte[] |
getQRCodeBytes(String contents,
int width,
int height,
String format)
QRコードのバイト配列を返却.
|
static BufferedImage |
makeBarcode(String contents,
com.google.zxing.BarcodeFormat format,
int width,
int height)
バーコード生成.
|
static BufferedImage |
makeQRCode(String contents,
int width,
int height)
QRコードを生成.
|
public static byte[] getQRCodeBytes(String contents, int width, int height) throws KaidenSystemException
contents
- 埋め込み文字列width
- QRコードの幅height
- QRコードの高さKaidenSystemException
- KaidenSystemException
public static byte[] getQRCodeBytes(String contents, int width, int height, String format) throws KaidenSystemException
contents
- 埋め込み文字列width
- QRコードの幅height
- QRコードの高さformat
- ファイルフォーマット(png等)KaidenSystemException
- KaidenSystemException
public static BufferedImage makeQRCode(String contents, int width, int height) throws KaidenSystemException
contents
- 埋め込み文字列width
- QRコードイメージの幅height
- QRコードイメージの高さBufferedImage
KaidenSystemException
- KaidenSystemException
public static byte[] getBarcodeBytes(String contents, com.google.zxing.BarcodeFormat barcodeFormat, int width, int height) throws KaidenSystemException
contents
- 埋め込み文字列barcodeFormat
- バーコードフォーマットwidth
- バーコードの幅height
- バーコードの高さKaidenSystemException
- KaidenSystemException
public static byte[] getBarcodeBytes(String contents, com.google.zxing.BarcodeFormat barcodeFormat, int width, int height, String fileFormat) throws KaidenSystemException
contents
- 埋め込み文字列barcodeFormat
- バーコードフォーマットwidth
- バーコードの幅height
- バーコードの高さfileFormat
- ファイルフォーマット(png等)KaidenSystemException
- KaidenSystemException
public static BufferedImage makeBarcode(String contents, com.google.zxing.BarcodeFormat format, int width, int height) throws KaidenSystemException
contents
- 埋め込み文字列format
- バーコードフォーマットwidth
- バーコードイメージの幅height
- バーコードイメージの高さBufferedImage
KaidenSystemException
- KaidenSystemException
Copyright © 2024 Sumitomo Life Information Systems Co., Ltd. All Rights Reserved.