Package de.julielab.costosys.medline
Class PMCUpdater
- java.lang.Object
-
- de.julielab.costosys.medline.PMCUpdater
-
public class PMCUpdater 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 PMCUpdater(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[]getPMCFiles(String pathString)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._pmc_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
-
getPMCFiles
protected File[] getPMCFiles(String pathString) throws IOException
- Throws:
IOException
-
-