|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.cache.config.parsing.ConfigFilesConvertor
public class ConfigFilesConvertor
Class used for converting a config file from from 2.x version to 3.x verison.
Constructor Summary | |
---|---|
ConfigFilesConvertor()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] argv)
usage : java org.jboss.cache.config.parsing.ConfigFilesConvertor -Dsource=config-2.x.xml -Ddestination=config-3.x.xnl |
void |
parse(java.io.InputStream is,
java.io.OutputStream os,
java.lang.String xsltFile)
Writes to the os the 3.x configuration file resulted by transforming the 2.x configuration file passed in as is. |
void |
parse(java.lang.String inputFile,
java.io.OutputStream os,
java.lang.String xsltFile)
Writes to the os the 3.x configuration file resulted by transforming the 2.x configuration file passed in as inputFile. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigFilesConvertor()
Method Detail |
---|
public void parse(java.io.InputStream is, java.io.OutputStream os, java.lang.String xsltFile) throws java.lang.Exception
FileLookup
java.lang.Exception
public void parse(java.lang.String inputFile, java.io.OutputStream os, java.lang.String xsltFile) throws java.lang.Exception
FileLookup
java.lang.Exception
public static void main(java.lang.String[] argv) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |