Class AntGenerator

java.lang.Object
org.apache.rat.tools.AntGenerator

public final class AntGenerator extends Object
A simple tool to convert CLI options into an Ant report base class.
  • Method Details

    • getFilter

      public static Predicate<org.apache.commons.cli.Option> getFilter()
      Gets the Option predicate that removes unsupported CLI options.
      Returns:
      The Option predicate that removes unsupported CLI options.
    • main

      public static void main(String[] args) throws IOException
      Creates a base class for an Ant task. Requires 3 arguments:
      1. the package name for the class
      2. the simple class name
      3. the directory in which to write the class file.
      Parameters:
      args - the arguments.
      Throws:
      IOException - on error.