de.lmu.ifi.dbs.elki.datasource
Class FileBasedDatabaseConnection
java.lang.Object
de.lmu.ifi.dbs.elki.datasource.AbstractDatabaseConnection
de.lmu.ifi.dbs.elki.datasource.InputStreamDatabaseConnection
de.lmu.ifi.dbs.elki.datasource.FileBasedDatabaseConnection
- All Implemented Interfaces:
- DatabaseConnection, InspectionUtilFrequentlyScanned, Parameterizable
public class FileBasedDatabaseConnection
- extends InputStreamDatabaseConnection
Provides a file based database connection based on the parser to be set.
Field Summary |
static OptionID |
INPUT_ID
Parameter that specifies the name of the input file to be parsed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INPUT_ID
public static final OptionID INPUT_ID
- Parameter that specifies the name of the input file to be parsed.
Key: -dbc.in
FileBasedDatabaseConnection
public FileBasedDatabaseConnection(List<ObjectFilter> filters,
Parser parser,
InputStream in)
- Constructor.
- Parameters:
filters
- Filters, can be nullparser
- the parser to provide a databasein
- the input stream to parse from.