Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

medi.base.util
Class Volume2Db_1  view Volume2Db_1 download Volume2Db_1.java

java.lang.Object
  extended byjava.lang.Thread
      extended bymedi.base.util.Volume2Db_1
All Implemented Interfaces:
java.lang.Runnable

public class Volume2Db_1
extends java.lang.Thread

Captures volume information and puts it into the database. It is a backup file.

Version:
0.0.1

Field Summary
private  java.lang.Integer containerID
           
private  medi.util.File2DbDispatcher dispatcher
           
private  javatools.io.DirectoryGetter mountPoint
           
private  medi.base.Provider prv
           
private  medi.swing.Volume2DbStatus status
           
private  java.lang.String volumeName
           
private  java.lang.String volumeType
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Volume2Db_1()
          Creates new Volume2Db
Volume2Db_1(medi.base.Provider pPrv, javatools.io.DirectoryGetter pMountPoint, java.lang.String pVolumeName, java.lang.String pVolumeType, java.lang.Integer pContainerID)
          Creates a new Volume2Db.
Volume2Db_1(medi.base.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 (unused).
 void scan()
          Starts scanning a volume and putting information in the database.
 void setContainerID(java.lang.Integer pContainerID)
          Sets the container ID.
 void setMountPoint(javatools.io.DirectoryGetter pMountPoint)
          Sets the starting DirectoryGetter.
 void setMountPoint(java.io.File mPoint)
          Sets the starting mount point.
 void setProvider(medi.base.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.
 
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
 

Field Detail

prv

private medi.base.Provider prv

mountPoint

private javatools.io.DirectoryGetter mountPoint

volumeName

private java.lang.String volumeName

volumeType

private java.lang.String volumeType

containerID

private java.lang.Integer containerID

dispatcher

private medi.util.File2DbDispatcher dispatcher

status

private medi.swing.Volume2DbStatus status
Constructor Detail

Volume2Db_1

public Volume2Db_1()
Creates new Volume2Db


Volume2Db_1

public Volume2Db_1(medi.base.Provider pPrv,
                   java.io.File mPoint,
                   java.lang.String pVolumeName,
                   java.lang.String pVolumeType,
                   java.lang.Integer pContainerID)
Creates a new Volume2Db.


Volume2Db_1

public Volume2Db_1(medi.base.Provider pPrv,
                   javatools.io.DirectoryGetter pMountPoint,
                   java.lang.String pVolumeName,
                   java.lang.String pVolumeType,
                   java.lang.Integer pContainerID)
Creates a new Volume2Db.

Method Detail

setProvider

public void setProvider(medi.base.Provider pPrv)
Sets the provider to use.


setMountPoint

public void setMountPoint(java.io.File mPoint)
Sets the starting mount point.


setMountPoint

public void setMountPoint(javatools.io.DirectoryGetter pMountPoint)
Sets the starting DirectoryGetter.


setVolumeType

public void setVolumeType(java.lang.String pVolumeType)
Sets the volume type.


setVolumeName

public void setVolumeName(java.lang.String pVolumeName)
Sets the volume name.


setContainerID

public void setContainerID(java.lang.Integer pContainerID)
Sets the container ID.


scan

public void scan()
Starts scanning a volume and putting information in the database.


run

public void run()
Thread's run method (unused).