|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.claritysys.util.PropertyFileConfigurator
public final class PropertyFileConfigurator
A program for assisting in the deployment of property file templates.
Given a template file and a path to a new or existing property file, this will prompt for required parameters, supplying descriptions and defaults as specified in the template file.
It then re-writes the destination property file.
Prompted values are indicated by preceding the default value with an "at" sign "@".
Example:
some.key = @This is the description|This is the default value.It allows substitution of other keys using the syntax "${key-name}". This can be done in default values, descriptions, or regular keys. Substitutions are not guaranteed to be done in any particular order. To ensure all substitutions are resolved, it will continuously re-evaluate all found substitutions until no more are pending, or until a complete pass yields no new substitutions are some still remain in which case an exception is thrown.
Constructor Summary | |
---|---|
PropertyFileConfigurator()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Run from command line. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyFileConfigurator()
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.io.IOException
Run with no arguments for usage.
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |