com.brayan.SECS.DAL.sensors
Class MsOfficeFileDetector
java.lang.Object
java.util.Observable
com.brayan.SECS.DAL.sensors.MsOfficeFileDetector
public class MsOfficeFileDetector
- extends java.util.Observable
MsOfficeFileDetector follows a singleton pattern to avoid two instances
being employed to detect files.
- Author:
- Brayan
|
Constructor Summary |
private |
MsOfficeFileDetector()
constructor not allowed to be called externally private |
| Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ref
private static MsOfficeFileDetector ref
- class variable
MsOfficeFileDetector
private MsOfficeFileDetector()
- constructor not allowed to be called externally private
getSingletonObject
public static MsOfficeFileDetector getSingletonObject()
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- this overrides the clone() method - because it's of no use to us
- Overrides:
clone in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException
stop
public void stop()
- stop this instance of file detector