Top Description Fields Constructors Methods
org.apache.tools.ant.util.facade

public Class ImplementationSpecificArgument

extends Argument
Class Inheritance
Known Direct Subclasses
org.apache.tools.ant.taskdefs.Javac.ImplementationSpecificArgument, org.apache.tools.ant.taskdefs.Rmic.ImplementationSpecificArgument
Imports
org.apache.tools.ant.types.Commandline

Extension of Commandline.Argument with a new attribute that chooses a specific implementation of the facade.
Since
Ant 1.5

Field Summary

Modifier and TypeField and Description
private String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final String[]

Returns:

the parts if the implementation matches or an zero length array if not.
getParts
(String
the implementation to check against.
chosenImpl
)

Return the parts this Argument consists of, if the implementation matches the chosen implementation.

public void
setImplementation(String
the implementation this command line argument is for.
impl
)

Set the implementation this argument is for.

Inherited from org.apache.tools.ant.types.Commandline.Argument:
copyFromgetPartssetFilesetLinesetPathsetPathrefsetPrefixsetSuffixsetValue

Field Detail

implback to summary
private String impl

Constructor Detail

ImplementationSpecificArgumentback to summary
public ImplementationSpecificArgument()

Method Detail

getPartsback to summary
public final String[] getParts(String chosenImpl)

Return the parts this Argument consists of, if the implementation matches the chosen implementation.

Parameters
chosenImpl:String

the implementation to check against.

Returns:String[]

the parts if the implementation matches or an zero length array if not.

See Also
org.apache.tools.ant.types.Commandline.Argument#getParts()
setImplementationback to summary
public void setImplementation(String impl)

Set the implementation this argument is for.

Parameters
impl:String

the implementation this command line argument is for.