public class ConfigFilesConvertor extends Object
Constructor and Description |
---|
ConfigFilesConvertor() |
Modifier and Type | Method and Description |
---|---|
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.
|
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
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.