RasterTileFormat Class

public final class RasterTileFormat
extends ExpandableStringEnum<RasterTileFormat>

Defines values for RasterTileFormat.

Field Summary

Modifier and Type Field and Description
static final RasterTileFormat PNG

An image in the png format.

Constructor Summary

Constructor Description
RasterTileFormat()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RasterTileFormat value.

Method Summary

Modifier and Type Method and Description
static RasterTileFormat fromString(String name)

Creates or finds a RasterTileFormat from its string representation.

static Collection<RasterTileFormat> values()

Gets known RasterTileFormat values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

PNG

public static final RasterTileFormat PNG

An image in the png format. Supports zoom levels 0 through 18.

Constructor Details

RasterTileFormat

@Deprecated
public RasterTileFormat()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RasterTileFormat value.

Method Details

fromString

public static RasterTileFormat fromString(String name)

Creates or finds a RasterTileFormat from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RasterTileFormat.

values

public static Collection<RasterTileFormat> values()

Gets known RasterTileFormat values.

Returns:

known RasterTileFormat values.

Applies to