Class CSVImporter
java.lang.Object
ca.phon.app.csv.CSVImporter
Class to import CSV files into a Phon project as one or more sessions. All sessions
will be imported into the same corpus. If no corpus is specified, a new corpus
named "imported" will be created.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(CSVImporterListener csvImporterListener) void
importCSV
(String filePath, CSVImportSettings settings) invalid input: '&' Import a CSV file into the project.
-
Constructor Details
-
CSVImporter
-
-
Method Details
-
addListener
-
importCSV
invalid input: '&' Import a CSV file into the project. The CSV file must be in the format specified by theCSVImportSettings
object.- Parameters:
filePath
- csv file pathsettings
- csv import settings- Throws:
IOException
- if an error occurs while reading the file or writing the session
-