public enum ImageType extends Enum<ImageType>
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 |
---|
BMP
bmp
|
GIF
gif
|
JPEG
jpeg
|
JPG
jpeg
|
PNG
png
|
TIFF
tiff
|
Modifier and Type | Method and Description |
---|---|
static ImageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageType JPEG
public static final ImageType JPG
public static final ImageType PNG
public static final ImageType TIFF
public static final ImageType BMP
public static final ImageType GIF
public static ImageType[] values()
for (ImageType c : ImageType.values()) System.out.println(c);
public static ImageType 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 nullCopyright © 2024. All rights reserved.