Package org.apache.rat.documentation
Class Exporter
java.lang.Object
org.apache.rat.documentation.Exporter
Uses Apache Velocity to write a document containing RAT configuration information.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Exporter
public Exporter()
-
-
Method Details
-
toString
-
main
public static void main(String[] args) throws IOException, ClassNotFoundException, NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException, RatException Executes the generation of documentation from a configuration definition. Arguments are- Template directory - the top level directory in a tree of Velocity templates. The process scans the directory
tree looking for files ending in
.vm
and processes them. - Output directory - The top level directory to writhe the processed files to. The process removes the
.vm
from the input file name and writes the resulting file to an equivalent directory entry in the output directory.
- Parameters:
args
- the arguments- Throws:
IOException
- on IO error.ClassNotFoundException
- if the configuration is not found.NoSuchMethodException
- if the method name is not found.InvocationTargetException
- if the method can not be invoked.InstantiationException
- if the class can not be instantiated.IllegalAccessException
- if there are access restrictions on the class.RatException
- on RAT processing error.
- Template directory - the top level directory in a tree of Velocity templates. The process scans the directory
tree looking for files ending in
-