public static enum TPKReader.ImageFormats extends Enum<TPKReader.ImageFormats>
Modifier and Type | Method and Description |
---|---|
static String |
inferFormatFromImageData(byte[] imageData) |
static TPKReader.ImageFormats |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TPKReader.ImageFormats[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TPKReader.ImageFormats FMT_JPG
public static final TPKReader.ImageFormats FMT_PNG
public static TPKReader.ImageFormats[] values()
for (TPKReader.ImageFormats c : TPKReader.ImageFormats.values()) System.out.println(c);
public static TPKReader.ImageFormats 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 String inferFormatFromImageData(byte[] imageData)
Copyright © 1996–2023 Geotools. All rights reserved.