public class KeelToCsv extends Exporter
KeelToCsv
This class extends from the Exporter class. It is used to read data with KEEL format and transform them to the CSV format.Constructor and Description |
---|
KeelToCsv(java.lang.String nullValueUser,
java.lang.String separatorUser)
KeelToCsv class Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
Save(java.lang.String pathnameOutput)
Method that creates the output file with CSV format given as parameter
using all the structures built by the start method of the Exporter class.
|
void |
Start(java.lang.String pathnameInput,
java.lang.String pathnameOutput)
Method used to transform the data from the KEEL file given as parameter to
CSV format file which will be stored in the second file given.
|
public KeelToCsv(java.lang.String nullValueUser, java.lang.String separatorUser)
nullValueUser.
- Null value symbols.separatorUser.
- Separator symbols used in the csv format.public void Start(java.lang.String pathnameInput, java.lang.String pathnameOutput) throws java.lang.Exception
pathnameInput
- KEEL file path.pathnameOutput
- CSV file path.java.lang.Exception
- if the files can not be read or written.public void Save(java.lang.String pathnameOutput) throws java.lang.Exception
pathnameOutput
- CSV file path to generate.java.lang.Exception
- if the file can not be written.