org.apache.batik.apps.rasterizer

Class DestinationType

public final class DestinationType extends Object

Describes the type of destination for an SVGConverter operation.
Field Summary
static DestinationTypeJPEG
static intJPEG_CODE
static StringJPEG_EXTENSION
static StringJPEG_STR
static DestinationTypePDF
static intPDF_CODE
static StringPDF_EXTENSION
static StringPDF_STR
static DestinationTypePNG
static intPNG_CODE
static StringPNG_EXTENSION
static StringPNG_STR
static DestinationTypeTIFF
static intTIFF_CODE
static StringTIFF_EXTENSION
static StringTIFF_STR
Method Summary
StringgetExtension()
protected TranscodergetTranscoder()
Returns a transcoder object of the result image type.
DestinationType[]getValues()
Defines valid image types.
ObjectreadResolve()
inttoInt()
StringtoString()

Field Detail

JPEG

public static final DestinationType JPEG

JPEG_CODE

public static final int JPEG_CODE

JPEG_EXTENSION

public static final String JPEG_EXTENSION

JPEG_STR

public static final String JPEG_STR

PDF

public static final DestinationType PDF

PDF_CODE

public static final int PDF_CODE

PDF_EXTENSION

public static final String PDF_EXTENSION

PDF_STR

public static final String PDF_STR

PNG

public static final DestinationType PNG

PNG_CODE

public static final int PNG_CODE

PNG_EXTENSION

public static final String PNG_EXTENSION

PNG_STR

public static final String PNG_STR

TIFF

public static final DestinationType TIFF

TIFF_CODE

public static final int TIFF_CODE

TIFF_EXTENSION

public static final String TIFF_EXTENSION

TIFF_STR

public static final String TIFF_STR

Method Detail

getExtension

public String getExtension()

getTranscoder

protected Transcoder getTranscoder()
Returns a transcoder object of the result image type.

Returns: Transcoder object or null if there isn't a proper transcoder.

getValues

public DestinationType[] getValues()
Defines valid image types.

Returns: Array of valid values as strings.

readResolve

public Object readResolve()

toInt

public int toInt()

toString

public String toString()
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.