|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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(String[] argv)
usage : java org.jboss.cache.config.parsing.ConfigFilesConvertor -Dsource=config-2.x.xml -Ddestination=config-3.x.xnl |
void |
parse(InputStream is,
OutputStream os,
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(String inputFile,
OutputStream os,
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(InputStream is, OutputStream os, String xsltFile) throws Exception
FileLookup
Exception
public void parse(String inputFile, OutputStream os, String xsltFile) throws Exception
FileLookup
Exception
public static void main(String[] argv) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |