org.autosemantix.deltalog
Class Converter
java.lang.Object
org.autosemantix.deltalog.Converter
- public class Converter
- extends java.lang.Object
This untility class provides an XSL transformation engine.
Using XSL transformation files, this class can be used
to translate one XML format to another.
- Version:
- Created on Jul 19, 2005
- Author:
- Shawn Simister
Method Summary |
void |
convert(java.io.File src,
java.io.File dest)
Convert the contents of one file to another using the current XSL transform. |
void |
convert(java.lang.String srcData,
java.io.File dest)
Convert string data using the current transform and save it to a file. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Converter
public Converter(java.net.URL url)
Converter
public Converter(java.io.File file)
convert
public void convert(java.lang.String srcData,
java.io.File dest)
- Convert string data using the current transform and save it to a file.
- Parameters:
srcData
- The String data to convert.dest
- The file to save the converted data to.
convert
public void convert(java.io.File src,
java.io.File dest)
- Convert the contents of one file to another using the current XSL transform.
- Parameters:
src
- The file being converted.dest
- The new file to save the converted data to.