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.
Enum Constant and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
com.google.zxing.BarcodeFormat |
getCodeFormat()
获取格式化类型
|
boolean |
isQrType()
是否二维码类型
|
static BarcodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BarcodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic com.google.zxing.BarcodeFormat getCodeFormat()
public boolean isQrType()
Copyright © 2024. All rights reserved.