public class FileLoader
extends java.lang.Object
Table
based in the data it parses.
Data should be in a plain text format, and can be delimited by a comma, tab or semicolon. All rows are expected to consist of the same number of columns, and therefore , all columns are expected consist of the same number of items.
Data types other than numbers and a limited set of date
formats are not supported.
Any item that can not be parsed as a double
or a valid date,
will be set to 0.0
.
Whenever a column name is encountered that is already present, a number will be appended to the name, as to make it unique.
The following date formats
are allowed:
yyyy-MM-dd HH:mm:ss.SSS
,
dd-MM-yy HH:mm:ss.SSS
,
dd/MM/yyyy HH:mm:ss.SSS
.
Table
Constructor and Description |
---|
FileLoader(java.io.File theFile)
Creates a
FileLoader for the File given as
parameter. |
public FileLoader(java.io.File theFile)
FileLoader
for the File
given as
parameter.theFile
- The file to load.Table