public class ConvertJavadoc
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private boolean |
ivUpdate
A flag indicating the current mode is UPDATE.
|
private static long |
serialVersionUID
The class' serialization version id.
|
Constructor and Description |
---|
ConvertJavadoc(java.lang.String path,
java.lang.String mode)
Constructs a new javadoc conversion class.
|
Modifier and Type | Method and Description |
---|---|
private void |
convertFile(java.io.File file)
Converts the given file's javadoc.
|
static void |
main(java.lang.String[] args)
The main entry point for when the class is started from a command line.
|
private void |
recurseFolder(java.io.File folder)
Recurses the files and folders in the given folder.
|
private static final long serialVersionUID
private boolean ivUpdate
public ConvertJavadoc(java.lang.String path, java.lang.String mode)
path
- (String) The full path to the file or folder to process.mode
- (String) The mode to process. Must be LIST or UPDATE.public static void main(java.lang.String[] args)
args
- (String[]) A string array of startup parameters.private void recurseFolder(java.io.File folder)
folder
- (File) The folder to recurse.private void convertFile(java.io.File file)
file
- (File) The file to convert.