org.jcrontab.data
Class ClassLoaderSource

java.lang.Object
  extended byorg.jcrontab.data.FileSource
      extended byorg.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 $

Field Summary
 
Fields inherited from class org.jcrontab.data.FileSource
lastModified
 
Constructor Summary
ClassLoaderSource()
           
 
Method Summary
protected  InputStream createCrontabStream(String name)
           
 DataSource getInstance()
          This method returns the singleton is very important to grant That only a Thread accesses at a time
protected  boolean isChanged(String name)
           
 
Methods inherited from class org.jcrontab.data.FileSource
find, findAll, remove, store, store, storeAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassLoaderSource

public ClassLoaderSource()
Method Detail

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