public class DataReader extends Object
| Constructor and Description |
|---|
DataReader() |
| Modifier and Type | Method and Description |
|---|---|
ConverterConfiguration |
getConverterConfiguration()
Returns the converter configuration of this data reader.
|
Database |
getModel()
Returns the database model.
|
DataSink |
getSink()
Returns the data sink.
|
boolean |
isCaseSensitive()
Determines whether this rules object matches case sensitively.
|
void |
read(File file)
Reads the data contained in the specified file.
|
void |
read(InputSource source)
Reads the data from the given input source.
|
void |
read(InputStream input)
Reads the data given by the input stream.
|
void |
read(Reader reader)
Reads the data given by the reader.
|
void |
read(String filename)
Reads the data contained in the specified file.
|
void |
setCaseSensitive(boolean beCaseSensitive)
Specifies whether this rules object shall match case sensitively.
|
void |
setModel(Database model)
Sets the database model.
|
void |
setSink(DataSink sink)
Sets the data sink.
|
public ConverterConfiguration getConverterConfiguration()
public Database getModel()
public void setModel(Database model)
model - The modelpublic DataSink getSink()
public void setSink(DataSink sink)
sink - The sinkpublic boolean isCaseSensitive()
true if the case of the pattern matterspublic void setCaseSensitive(boolean beCaseSensitive)
beCaseSensitive - true if the case of the pattern shall matterpublic void read(String filename) throws DdlUtilsXMLException
filename - The data file nameDdlUtilsXMLExceptionpublic void read(File file) throws DdlUtilsXMLException
file - The data fileDdlUtilsXMLExceptionpublic void read(Reader reader) throws DdlUtilsXMLException
reader - The reader that returns the data XMLDdlUtilsXMLExceptionpublic void read(InputStream input) throws DdlUtilsXMLException
input - The input stream that returns the data XMLDdlUtilsXMLExceptionpublic void read(InputSource source) throws DdlUtilsXMLException
source - The input sourceDdlUtilsXMLExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.