
@Title(value="Input-Stream based database connection") @Description(value="Parse an input stream such as STDIN into a database.") public class InputStreamDatabaseConnection extends AbstractDatabaseConnection
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
InputStreamDatabaseConnection.Parameterizer
Parameterization class. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
(package private) InputStream | 
in
The input stream to parse from. 
 | 
private static Logging | 
LOG
The logger for this class. 
 | 
(package private) Parser | 
parser
Holds the instance of the parser. 
 | 
filters, FILTERS_ID, LABEL_CONCATENATION, PARSER_ID| Constructor and Description | 
|---|
InputStreamDatabaseConnection(List<ObjectFilter> filters,
                             Parser parser)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected Logging | 
getLogger()
Get the logger for this database connection. 
 | 
MultipleObjectsBundle | 
loadData()
Returns the initial data for a database. 
 | 
invokeFilters, invokeFiltersprivate static final Logging LOG
Parser parser
InputStream in
public InputStreamDatabaseConnection(List<ObjectFilter> filters, Parser parser)
filters - Filters to useparser - the parser to provide a databasepublic MultipleObjectsBundle loadData()
DatabaseConnectionprotected Logging getLogger()
AbstractDatabaseConnectiongetLogger in class AbstractDatabaseConnection