public class GenerateClassMap
extends java.lang.Object
Constructor and Description |
---|
GenerateClassMap() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Command line runner.
|
private static boolean |
writeClassMap(java.util.Map<java.lang.String,java.lang.String> map)
Store the given class name map into the class name map XML file.
|
private static boolean writeClassMap(java.util.Map<java.lang.String,java.lang.String> map)
Each map element "entry" stores a "key" and "value" that maps a class name in package form to a project relative filename of the associated class file.
map
- Map which describes the class name mapping.true
if the operation was successful.public static void main(java.lang.String[] args)
args
- A list of one or more project relative "root package" paths. This is
required even if it is just set to ".". The idea is that from this
path any files with a .cls extension will be found and their relative
path (after the root package path) will be the entry value stored in
the map.