|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--medi.util.File2DbDispatcher
Dispatches a file to a derived class of AbstractFile2Db
, if possible.
Otherwise, it will perform default operations.
Constructor Summary | |
File2DbDispatcher()
Creates new File2DbDispatcher |
Method Summary | |
java.lang.Long |
process(java.io.File procFile)
Dispatches a file to be processed. |
void |
setProvider(Provider pPrv)
Sets the provider to use. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public File2DbDispatcher()
Method Detail |
public void setProvider(Provider pPrv)
pPrv
- The provider to use.public java.lang.Long process(java.io.File procFile) throws DbException
procFile
- The file to be processed.
DbException
- If something goes wrong.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |