Interface | Description |
---|---|
FlatFile.Parser |
Defines a method that parses a
String into an Object . |
Class | Description |
---|---|
AbstractFlatFile |
Reads a text or binary file as a
ResultSet . |
FlatFile |
Reads a text file as a
ResultSet . |
MPSReader |
Reads a linear programming problem from an MPS file.
|
MPSReader.Element |
An element in the sparse contraint matrix.
|
Tokenizer |
Breaks a line into tokens.
|
Exception | Description |
---|---|
AbstractFlatFile.FlatFileSQLException |
A
SQLException thrown by the AbstractFlatFile class. |
AbstractFlatFile.FlatFileSQLFeatureNotSupportedException |
A
SQLFeatureNotSupportedException thrown by the AbstractFlatFile class. |
MPSReader.InvalidMPSFileException |
The MPS file is invalid.
|
The class AbstractFlatFile
is used to read a data file and return a
java.sql.ResultSet
object.
The ResultSet
object is normally used by JDBC to return the result of an SQL query.
Since AbstractFlatFile
is abstract it cannot be used directly.
The class FlatFile
extends AbstractFlatFile
and is used to read flat text files.
Typical flat files are comma separated files (CSV files) and space separated files.
The class FlatFile
uses the class Tokenizer
class to split tokens on a line. This class can be extended to handle other types of flat files.
The AbstractFlatFile
can also be extended to read binary files.
It provides the support for the required members of the java.sql.ResultSet
interface, but the actual reading of the binary files must be done in user supplied code.
The class MPSReader
is used to read linear programming problems
written in the standard MPS file format.
Copyright © 2020 Rogue Wave Software. All rights reserved.