|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fullspan.propkeyconst.PropertyFileGenerator
Generates a Java .properties file with property keys and values.
| Constructor Summary | |
PropertyFileGenerator(java.lang.String propFilePath,
RootClassDesc rootClassDesc)
Construct an instance of this class to generate a single .properties file with all of the constants in the rootClassDesc. |
|
| Method Summary | |
void |
generate()
Generate the .properties file with the directory and file name, and class name specified in this object's constructor. |
protected void |
generateComment(ICommentHolder commentHolder)
|
protected void |
generateConstants(ClassDesc classDesc)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PropertyFileGenerator(java.lang.String propFilePath,
RootClassDesc rootClassDesc)
rootClassDesc.
propFilePath - the filesystem path (directory and file name)
into which the generated properties will be placedrootClassDesc - the root class descriptor, typically the caller
will get this from PropertyLoader.getRootClassDesc()| Method Detail |
public void generate()
protected void generateConstants(ClassDesc classDesc)
throws java.io.IOException
java.io.IOExceptionprotected void generateComment(ICommentHolder commentHolder)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||