|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbox.allegato.PropertyPreProcessor
public class PropertyPreProcessor
XMLPreProcessor implementation that performs variable substitution based on a java properties file. The properties file must be specified with the following system property: toolbox.allegato.PropertyPreProcessor.config
The FreeMarker template engine is utilised internally to perform the substitution.
Constructor Summary | |
---|---|
PropertyPreProcessor()
Construct a new pre-processor. |
Method Summary | |
---|---|
java.io.InputStream |
process(java.io.InputStream is)
Perform required processing on the given InputStream and return an InputStream suitable for parsing by an XMLProperties instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyPreProcessor()
Method Detail |
---|
public java.io.InputStream process(java.io.InputStream is) throws ConfException
process
in interface XMLPreProcessor
is
- InputStream containing the data to process.
ConfException
- if the stream cannot be processed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |