Package net.sf.freecol.tools
Class GenerateDocumentation
- java.lang.Object
-
- net.sf.freecol.tools.GenerateDocumentation
-
public class GenerateDocumentation extends java.lang.Object
Generate some documentation.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.io.File
DESTINATION_DIRECTORY
private static java.util.Map<java.lang.String,java.lang.String>
resources
private static java.io.File
RULE_DIRECTORY
private static java.lang.String[]
sourceFiles
private static java.io.File
STRING_DIRECTORY
private static java.lang.String
XSL
-
Constructor Summary
Constructors Constructor Description GenerateDocumentation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static void
generateDocumentation(java.lang.String[] languages)
static java.lang.String
getResource(java.lang.String key)
static java.lang.String
localize(java.lang.String template)
static java.lang.String
localize(java.lang.String template, java.lang.String key, java.lang.String number)
static void
main(java.lang.String[] args)
private static void
readResources()
-
-
-
Field Detail
-
STRING_DIRECTORY
private static final java.io.File STRING_DIRECTORY
-
RULE_DIRECTORY
private static final java.io.File RULE_DIRECTORY
-
XSL
private static final java.lang.String XSL
- See Also:
- Constant Field Values
-
DESTINATION_DIRECTORY
private static final java.io.File DESTINATION_DIRECTORY
-
resources
private static final java.util.Map<java.lang.String,java.lang.String> resources
-
sourceFiles
private static final java.lang.String[] sourceFiles
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
-
readResources
private static void readResources()
-
generateDocumentation
private static void generateDocumentation(java.lang.String[] languages)
-
getResource
public static java.lang.String getResource(java.lang.String key)
-
localize
public static java.lang.String localize(java.lang.String template)
-
localize
public static java.lang.String localize(java.lang.String template, java.lang.String key, java.lang.String number)
-
-