|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--medi.util.AbstractFile2Db
It is a prototype of plugin mechanism: it's a base class that represents an analyzer class for the volume scanning wizard.
Field Summary | |
protected java.lang.String[] |
extensions
The extensions managed by the class. |
protected Provider |
prv
The provider to use. |
Constructor Summary | |
AbstractFile2Db()
Creates new AbstractFile2Db |
Method Summary | |
java.lang.String[] |
getExtensions()
Returns the array of managed extensions. |
abstract java.lang.Long |
process(java.io.File procFile,
java.lang.Integer fileTypeID)
Processes a file giving it's file type ID. |
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 |
Field Detail |
protected Provider prv
protected java.lang.String[] extensions
Constructor Detail |
public AbstractFile2Db()
Method Detail |
public void setProvider(Provider pPrv)
pPrv
- The provider to use.public abstract java.lang.Long process(java.io.File procFile, java.lang.Integer fileTypeID) throws DbException
procFile
- The file to process.fileTypeID
- Its file type ID.
DbException
- If something goes wrong.public java.lang.String[] getExtensions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |