org.jcrontab.data
Class ClassLoaderSource
java.lang.Object
org.jcrontab.data.FileSource
org.jcrontab.data.ClassLoaderSource
- All Implemented Interfaces:
- DataSource
- public class ClassLoaderSource
- extends FileSource
This class Is the implementation of DataSource to access
Info in a FileSystem
- Version:
- $Revision: 1.2 $
- Author:
- $Author: iolalla $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassLoaderSource
public ClassLoaderSource()
getInstance
public DataSource getInstance()
- Description copied from class:
FileSource
- This method returns the singleton is very important to grant
That only a Thread accesses at a time
- Specified by:
getInstance
in interface DataSource
- Overrides:
getInstance
in class FileSource
createCrontabStream
protected InputStream createCrontabStream(String name)
throws IOException
- Overrides:
createCrontabStream
in class FileSource
- Throws:
IOException
isChanged
protected boolean isChanged(String name)
- Overrides:
isChanged
in class FileSource