|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--medi.db.util.Volume2Db
Captures volume information and puts it into the database.
| Field Summary |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
Volume2Db()
Creates new Volume2Db |
|
Volume2Db(Provider pPrv)
Creates new Volume2Db |
|
Volume2Db(Provider pPrv,
java.io.File mPoint,
java.lang.String pVolumeName,
java.lang.String pVolumeType,
java.lang.Integer pContainerID)
Creates a new Volume2Db. |
|
| Method Summary | |
void |
run()
Thread's run method. |
void |
scan()
Starts scanning a volume and putting information in the database. |
void |
setContainerID(java.lang.Integer pContainerID)
Sets the container ID. |
void |
setMain(MediMain pMm)
Sets a reference to the main class. |
void |
setMountPoint(java.io.File mPoint)
Sets the starting mount point. |
void |
setProvider(Provider pPrv)
Sets the provider to use. |
void |
setVolumeName(java.lang.String pVolumeName)
Sets the volume name. |
void |
setVolumeType(java.lang.String pVolumeType)
Sets the volume type. |
void |
stopScan()
Stops scanning files. |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Volume2Db()
public Volume2Db(Provider pPrv)
pPrv - The provider to use.
public Volume2Db(Provider pPrv,
java.io.File mPoint,
java.lang.String pVolumeName,
java.lang.String pVolumeType,
java.lang.Integer pContainerID)
pPrv - The provider to use.mPoint - The starting mount point.pVolumeName - The volume name.pVolumeType - The volume type.pContainerID - The container ID.| Method Detail |
public void setProvider(Provider pPrv)
pPrv - The provider to use.public void setMountPoint(java.io.File mPoint)
mPoint - The starting mount point.public void setVolumeType(java.lang.String pVolumeType)
pVolumeType - The volume type.public void setVolumeName(java.lang.String pVolumeName)
pVolumeName - The volume name.public void setContainerID(java.lang.Integer pContainerID)
pContainerID - The container ID.public void setMain(MediMain pMm)
pMm - The main class.public void scan()
public void stopScan()
public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||