public class KeelToDif extends Exporter
KeelToDif
This class extends from the Exporter class. It is used to read data with KEEL format and transform them to the DIF format.Constructor and Description |
---|
KeelToDif()
KeelToDif class Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
Save(java.lang.String pathnameOutput)
Method that creates the output file with DIF 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
DIF format file which will be stored in the second file given.
|
public KeelToDif()
public void Start(java.lang.String pathnameInput, java.lang.String pathnameOutput) throws java.lang.Exception
pathnameInput
- KEEL file path.pathnameOutput
- DIF 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
- DIF file path to generate.java.lang.Exception
- if the file can not be written.