Package de.julielab.costosys.medline
Class Updater
- java.lang.Object
-
- de.julielab.costosys.medline.Updater
-
public class Updater extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCOLUMN_FILENAMEstatic java.lang.StringCOLUMN_IS_IMPORTEDstatic java.lang.StringCOLUMN_TIMESTAMPstatic java.lang.StringUPDATE_TABLEName of the table that keeps track of already imported and finished Medline update files.
-
Constructor Summary
Constructors Constructor Description Updater(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.io.File[]getMedlineFiles(java.lang.String medlinePathString)voidprocess(DataBaseConnector dbc)
-
-
-
Field Detail
-
UPDATE_TABLE
public static final java.lang.String UPDATE_TABLE
Name of the table that keeps track of already imported and finished Medline update files. Value: "_data._medline_update_files".- See Also:
- Constant Field Values
-
COLUMN_FILENAME
public static final java.lang.String COLUMN_FILENAME
- See Also:
- Constant Field Values
-
COLUMN_IS_IMPORTED
public static final java.lang.String COLUMN_IS_IMPORTED
- See Also:
- Constant Field Values
-
COLUMN_TIMESTAMP
public static final java.lang.String COLUMN_TIMESTAMP
- See Also:
- Constant Field Values
-
-
Method Detail
-
process
public void process(DataBaseConnector dbc) throws MedlineUpdateException, java.io.IOException
- Throws:
MedlineUpdateExceptionjava.io.IOException
-
getMedlineFiles
protected java.io.File[] getMedlineFiles(java.lang.String medlinePathString) throws java.io.FileNotFoundException- Throws:
java.io.FileNotFoundException
-
-