public enum BarcodeType extends Enum<BarcodeType>
Copyright (c) 2020 xsx All Rights Reserved. x-easypdf-pdfbox is licensed under Mulan PSL v2. You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2 THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. See the Mulan PSL v2 for more details.
| 枚举常量和说明 |
|---|
AZTEC
阿兹特克码
|
CODA_BAR
库德巴码
|
CODE_128
标准128码
|
CODE_39
标准39码
|
CODE_93
标准93码
|
DATA_MATRIX
DM码
|
EAN_13
标准版国际商品条码
|
EAN_8
缩短版国际商品条码
|
ITF
交叉码
|
MAXI_CODE
MaxiCode
|
PDF_417
PDF-417码
|
QR_CODE
QR码
|
UPC_A
美国商品码A
|
UPC_E
美国商品码E
|
| 限定符和类型 | 方法和说明 |
|---|---|
com.google.zxing.BarcodeFormat |
getCodeFormat()
获取格式化类型
|
boolean |
isQrType()
是否二维码类型
|
static BarcodeType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static BarcodeType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final BarcodeType CODA_BAR
public static final BarcodeType CODE_39
public static final BarcodeType CODE_93
public static final BarcodeType CODE_128
public static final BarcodeType EAN_8
public static final BarcodeType EAN_13
public static final BarcodeType ITF
public static final BarcodeType UPC_A
public static final BarcodeType UPC_E
public static final BarcodeType QR_CODE
public static final BarcodeType AZTEC
public static final BarcodeType DATA_MATRIX
public static final BarcodeType MAXI_CODE
public static final BarcodeType PDF_417
public static BarcodeType[] values()
for (BarcodeType c : BarcodeType.values()) System.out.println(c);
public static BarcodeType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public com.google.zxing.BarcodeFormat getCodeFormat()
public boolean isQrType()
Copyright © 2024. All rights reserved.