org.apache.tools.ant.util.facade

Class ImplementationSpecificArgument

    • Constructor Detail

      • ImplementationSpecificArgument

        public ImplementationSpecificArgument()
        Constructor for ImplementationSpecificArgument.
    • Method Detail

      • setImplementation

        public void setImplementation(java.lang.String impl)
        Set the implementation this argument is for.
        Parameters:
        impl - the implementation this command line argument is for.
      • getParts

        public final java.lang.String[] getParts(java.lang.String chosenImpl)
        Return the parts this Argument consists of, if the implementation matches the chosen implementation.
        Parameters:
        chosenImpl - the implementation to check against.
        Returns:
        the parts if the implementation matches or an zero length array if not.
        See Also:
        Commandline.Argument.getParts()