Package de.julielab.costosys.medline
Class PubmedUpdater
- java.lang.Object
-
- de.julielab.costosys.medline.PubmedUpdater
-
public class PubmedUpdater extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOLUMN_FILENAMEstatic StringCOLUMN_IS_IMPORTEDstatic StringCOLUMN_TIMESTAMPstatic StringUPDATE_TABLEName of the table that keeps track of already imported and finished Medline update files.
-
Constructor Summary
Constructors Constructor Description PubmedUpdater(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 File[]getMedlineFiles(String medlinePathString)voidprocess(DataBaseConnector dbc, boolean ignoreAlreadyProcessed)
-
-
-
Field Detail
-
UPDATE_TABLE
public static final 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 String COLUMN_FILENAME
- See Also:
- Constant Field Values
-
COLUMN_IS_IMPORTED
public static final String COLUMN_IS_IMPORTED
- See Also:
- Constant Field Values
-
COLUMN_TIMESTAMP
public static final String COLUMN_TIMESTAMP
- See Also:
- Constant Field Values
-
-
Method Detail
-
process
public void process(DataBaseConnector dbc, boolean ignoreAlreadyProcessed) throws MedlineUpdateException, IOException
- Throws:
MedlineUpdateExceptionIOException
-
getMedlineFiles
protected File[] getMedlineFiles(String medlinePathString) throws FileNotFoundException
- Throws:
FileNotFoundException
-
-