org.apache.tools.ant.taskdefs.optional.dotnet

Class Ildasm.EncodingTypes

Enclosing Class:
Ildasm

public static class Ildasm.EncodingTypes
extends EnumeratedAttribute

encoding options; the default is ascii

Field Summary

static String
ASCII
static String
UNICODE
static String
UTF8

Fields inherited from class org.apache.tools.ant.types.EnumeratedAttribute

value

Method Summary

static String
getEncodingOption(String enumValue)
This method maps from an encoding enum to an encoding option.
String[]
getValues()
This is the only method a subclass needs to implement.

Methods inherited from class org.apache.tools.ant.types.EnumeratedAttribute

containsValue, getIndex, getValue, getValues, indexOfValue, setValue, toString

Field Details

ASCII

public static final String ASCII

UNICODE

public static final String UNICODE

UTF8

public static final String UTF8

Method Details

getEncodingOption

public static String getEncodingOption(String enumValue)
This method maps from an encoding enum to an encoding option.
Parameters:
enumValue -
Returns:
The encoding option indicated by the enum value.

getValues

public String[] getValues()
This is the only method a subclass needs to implement.
Overrides:
getValues in interface EnumeratedAttribute
Returns:
an array holding all possible values of the enumeration. The order of elements must be fixed so that indexOfValue(String) always return the same index for the same value.

Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.