|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jdbcimporter.columntranslator.StringToFileColumnTranslator
The StringToFileColumnTranslator translates a String into an InputStream by reading in a file whose name matches the string.
Field Summary | |
protected java.lang.String |
baseDir
The base directory from which the files will be read. |
protected static org.apache.commons.logging.Log |
LOG
The log for error information. |
Constructor Summary | |
StringToFileColumnTranslator()
|
Method Summary | |
ColumnValue |
getValue(ColumnDef column,
ColumnValue columnValue)
Returns the translated column value. |
void |
setBaseDir(java.lang.String newBaseDir)
Sets the base directory from which the files will be read. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static org.apache.commons.logging.Log LOG
protected java.lang.String baseDir
Constructor Detail |
public StringToFileColumnTranslator()
Method Detail |
public void setBaseDir(java.lang.String newBaseDir)
newBaseDir
- the base directorypublic ColumnValue getValue(ColumnDef column, ColumnValue columnValue)
ColumnTranslator
getValue
in interface ColumnTranslator
column
- the definition of the columncolumnValue
- the value of the column read from a file
ColumnTranslator.getValue(net.sourceforge.jdbcimporter.ColumnDef, net.sourceforge.jdbcimporter.ColumnValue)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |