|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.db2tm.CSVDataSource
public class CSVDataSource
INTERNAL: Data source that reads CSV files from a directory.
Field Summary | |
---|---|
protected java.lang.String |
encoding
|
protected int |
ignoreFirstLines
|
protected RelationMapping |
mapping
|
protected java.io.File |
path
|
protected char |
quoteCharacter
|
protected char |
separator
|
Method Summary | |
---|---|
void |
close()
INTERNAL: Closes the data source so that it can release any open resources. |
ChangelogReaderIF |
getChangelogReader(Changelog changelog,
java.lang.String startOrder)
INTERNAL: Returns a changelog reader. |
java.lang.String |
getMaxOrderValue(Changelog changelog)
INTERNAL: Returns the maximum value of the order column for the specified changelog. |
TupleReaderIF |
getReader(java.lang.String relation)
INTERNAL: Returns a tuple reader for the given relation. |
java.util.Collection |
getRelations()
INTERNAL: Returns the relations that the data source knows of. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected RelationMapping mapping
protected java.io.File path
protected java.lang.String encoding
protected char separator
protected char quoteCharacter
protected int ignoreFirstLines
Method Detail |
---|
public java.util.Collection getRelations()
DataSourceIF
getRelations
in interface DataSourceIF
public TupleReaderIF getReader(java.lang.String relation)
DataSourceIF
getReader
in interface DataSourceIF
public ChangelogReaderIF getChangelogReader(Changelog changelog, java.lang.String startOrder)
DataSourceIF
getChangelogReader
in interface DataSourceIF
public java.lang.String getMaxOrderValue(Changelog changelog)
DataSourceIF
getMaxOrderValue
in interface DataSourceIF
public void close()
DataSourceIF
close
in interface DataSourceIF
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |