com.pmstation.spss
Class XmlToSPSS

java.lang.Object
  extended by 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

Constructor Summary
XmlToSPSS()
           
 
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
 

Constructor Detail

XmlToSPSS

public XmlToSPSS()
Method Detail

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 format
outputSPSS - OutputStream uptput stream for SPSS format
charsetName - 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 format
fileSPSS - File file to output in SPSS format
charsetName - 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.