org.apache.tools.ant.taskdefs

Class PathConvert.TargetOs

Enclosing Class:
PathConvert

public static class PathConvert.TargetOs
extends EnumeratedAttribute

an enumeration of supported targets: windows", "unix", "netware", and "os/2".

Field Summary

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

value

Method Summary

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

Method Details

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-2005 Apache Software Foundation. All Rights Reserved.