Class Naming

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

public final class Naming extends Object
A simple tool to convert CLI options to Maven and Ant format and produce a CSV file.
Options
  • --ant Produces Ant options in result
  • --maven Produces Maven options in result
  • --csv Produces CSV output text
Note: if neither --ant nor --maven are included both will be listed.
  • Method Details

    • main

      public static void main(String[] args) throws IOException, org.apache.commons.cli.ParseException
      Creates the CSV file. Requires 1 argument:
      1. the name of the output file with path if desired
      Parameters:
      args - arguments, only 1 is required.
      Throws:
      IOException - on error
      org.apache.commons.cli.ParseException
    • mavenFunctionName

      public static String mavenFunctionName(org.apache.commons.cli.Option option)