com.pmstation.spss
Class CsvToSPSS
java.lang.Object
com.pmstation.spss.CsvToSPSS
public class CsvToSPSS
- extends java.lang.Object
converts data from CSV to SPSS format
- Since:
- JDK1.2
- Version:
- 1.1
- Author:
- Alex Lunkov
Method Summary |
static void |
convert(java.io.File fileCSV,
java.io.File fileSPSS,
java.lang.String charsetName)
Writes data in SPSS format. |
static void |
convert(java.io.InputStream inputCSV,
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 |
CsvToSPSS
public CsvToSPSS()
convert
public static void convert(java.io.InputStream inputCSV,
java.io.OutputStream outputSPSS,
java.lang.String charsetName)
throws java.io.IOException
- Writes data in SPSS format. An input data is getting from the
InputStream
in CSV format.
- Parameters:
inputCSV
- InputStream input stream in CSV formatoutputSPSS
- OutputStream uptput stream for SPSS formatcharsetName
- the charset name or null if default.
- Throws:
java.io.IOException
- if an I/O error occurs.
convert
public static void convert(java.io.File fileCSV,
java.io.File fileSPSS,
java.lang.String charsetName)
throws java.io.IOException
- Writes data in SPSS format. An input data is getting from the
File
in CSV format.
- Parameters:
fileCSV
- File input file in CSV 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.
Copyright © 2003-2004 pmStation.com. All Rights Reserved.