net.datacrow.drivemanager
Class DriveScanner

java.lang.Object
  extended by net.datacrow.drivemanager.DriveScanner

public class DriveScanner
extends java.lang.Object


Constructor Summary
DriveScanner(DriveManager dm, java.io.File drive)
           
 
Method Summary
protected  void add(java.io.File file)
           
 void cancel()
           
 boolean equals(java.lang.Object o)
           
protected  java.io.File getDrive()
           
 int hashCode()
           
protected  boolean isDirExcluded(java.io.File file)
           
 boolean isRunning()
           
protected  void notifyScanComplete()
           
 void restart()
           
 boolean start()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DriveScanner

public DriveScanner(DriveManager dm,
                    java.io.File drive)
Method Detail

cancel

public void cancel()

isRunning

public boolean isRunning()

start

public boolean start()

restart

public void restart()

isDirExcluded

protected boolean isDirExcluded(java.io.File file)

notifyScanComplete

protected void notifyScanComplete()

getDrive

protected java.io.File getDrive()

add

protected void add(java.io.File file)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object