public enum PreviewFormats extends Enum<PreviewFormats>
Document preview supported formats.
Enum Constant and Description |
---|
BMP
BMP - slow processing, high disc space usage / traffic, but best quality.
|
JPEG
Jpeg - faster processing, small disc space using / traffic, but can be worst quality.
|
PNG
Png (by default), can be take a lot of disc space / traffic if page contains a lot of color graphics.
|
Modifier and Type | Method and Description |
---|---|
static PreviewFormats |
fromString(String toStringValue) |
String |
toString() |
static PreviewFormats |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PreviewFormats[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreviewFormats BMP
BMP - slow processing, high disc space usage / traffic, but best quality.
public static final PreviewFormats JPEG
Jpeg - faster processing, small disc space using / traffic, but can be worst quality.
public static final PreviewFormats PNG
Png (by default), can be take a lot of disc space / traffic if page contains a lot of color graphics.
public static PreviewFormats fromString(String toStringValue)
public String toString()
toString
in class Enum<PreviewFormats>
public static PreviewFormats 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 static PreviewFormats[] values()
for (PreviewFormats c : PreviewFormats.values()) System.out.println(c);
Copyright © 2023. All rights reserved.