com.pmstation.spss
Class XmlToSPSS
java.lang.Object
com.pmstation.spss.XmlToSPSS
public class XmlToSPSS
- extends java.lang.Object
converts data from XML to SPSS format
- Since:
- JDK1.2
- Version:
- 1.1
- Author:
- Alex Lunkov
Method Summary |
static void |
convert(java.io.File fileXML,
java.io.File fileSPSS,
java.lang.String charsetName)
Writes data in SPSS format. |
static void |
convert(java.io.InputStream inputXML,
java.io.OutputStream outputSPSS,
java.lang.String charsetName)
Writes data in SPSS format. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlToSPSS
public XmlToSPSS()
convert
public static void convert(java.io.InputStream inputXML,
java.io.OutputStream outputSPSS,
java.lang.String charsetName)
throws java.io.IOException,
org.xml.sax.SAXException
- Writes data in SPSS format. An input data is getting from the
InputStream
in XML format.
- Parameters:
inputXML
- InputStream input stream in XML formatoutputSPSS
- OutputStream uptput stream for SPSS formatcharsetName
- the charset name or null if default.
- Throws:
java.io.IOException
- if an I/O error occurs.
org.xml.sax.SAXException
convert
public static void convert(java.io.File fileXML,
java.io.File fileSPSS,
java.lang.String charsetName)
throws java.io.IOException,
org.xml.sax.SAXException
- Writes data in SPSS format. An input data is getting from the
File
in XML format.
- Parameters:
fileXML
- File input file in XML formatfileSPSS
- File file to output in SPSS formatcharsetName
- the charset name or null if default.
- Throws:
java.io.IOException
- if an I/O error occurs.
org.xml.sax.SAXException
Copyright © 2003-2004 pmStation.com. All Rights Reserved.