de.topicmapslab.majortom.database.io.importer
Class PostGreSqlCTMTopicMapReader

java.lang.Object
  extended by de.topicmapslab.majortom.database.io.importer.PostGreSqlCTMTopicMapReader

public class PostGreSqlCTMTopicMapReader
extends java.lang.Object

Author:
Sven Krosse

Field Summary
private static java.lang.String NEWLINE
           
private static java.lang.String SELECT_FROM_CTM
           
private static java.lang.String UTF_8
           
 
Constructor Summary
PostGreSqlCTMTopicMapReader()
           
 
Method Summary
static void read(java.io.File file, JdbcTopicMapStore store)
          Read the content of the given file and call the database to read as CTM
static void read(java.io.InputStream io, JdbcTopicMapStore store)
          Read the content of the given input stream and call the database to read as CTM
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NEWLINE

private static final java.lang.String NEWLINE
See Also:
Constant Field Values

UTF_8

private static final java.lang.String UTF_8
See Also:
Constant Field Values

SELECT_FROM_CTM

private static final java.lang.String SELECT_FROM_CTM
See Also:
Constant Field Values
Constructor Detail

PostGreSqlCTMTopicMapReader

public PostGreSqlCTMTopicMapReader()
Method Detail

read

public static void read(java.io.InputStream io,
                        JdbcTopicMapStore store)
Read the content of the given input stream and call the database to read as CTM

Parameters:
io - the input stream
store - the topic map store

read

public static void read(java.io.File file,
                        JdbcTopicMapStore store)
Read the content of the given file and call the database to read as CTM

Parameters:
file - the file
store - the topic map store