|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fullspan.propkeyconst.PropertyLoader
Load one or more Properties objects. The loaded object(s)
can then be used, for example, to generate a .java file with constants
representing property keys.
ConstantGenerator| Constructor Summary | |
PropertyLoader(java.util.Properties props)
Construct an instance which will load a single Properties object |
|
PropertyLoader(java.util.Properties[] propertiesObjArr)
Construct an instance which will load multiple Properties objects |
|
| Method Summary | |
RootClassDesc |
getRootClassDesc()
Call this after calling load() to get the resulting class
descriptor. |
void |
load()
Load the Properties object(s) that were specified in the constructor. |
protected void |
loadPropertiesObj(java.util.Properties propertiesObj)
|
protected void |
loadPropKey(java.lang.String propKey,
java.lang.String propValue)
|
protected void |
processComment(CommentDesc commentDesc)
|
protected void |
processComments()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PropertyLoader(java.util.Properties props)
props - public PropertyLoader(java.util.Properties[] propertiesObjArr)
propertiesObjArr - | Method Detail |
public RootClassDesc getRootClassDesc()
load() to get the resulting class
descriptor.
public void load()
throws java.io.IOException
java.io.IOException
protected void loadPropertiesObj(java.util.Properties propertiesObj)
throws java.io.IOException
java.io.IOException
protected void loadPropKey(java.lang.String propKey,
java.lang.String propValue)
protected void processComments()
protected void processComment(CommentDesc commentDesc)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||