|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
net.spy.cron.JobQueue
net.spy.cron.FileJobQueue
public class FileJobQueue
Get a job queue as defined in a file. The file will be in one the following formats:
For example:
20010403-090000 DAY 1 net.spy.pagermusic.RunSubs
| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
FileJobQueue(java.lang.ClassLoader cl,
java.io.File f)
Get a new FileJobQueue based on what's in the given file. |
|
FileJobQueue(java.lang.ClassLoader cl,
java.io.Reader r)
Get a new FileJobQueue from a Reader. |
|
FileJobQueue(java.io.File f)
Get a FileJobQueue from a file using the current classloader. |
|
FileJobQueue(java.io.Reader r)
Get a FileJobQueue from a reader using the current classloader. |
|
| Method Summary |
|---|
| Methods inherited from class net.spy.cron.JobQueue |
|---|
addJob, getLogger, getNextStartDate, getReadyJobs |
| Methods inherited from class java.util.ArrayList |
|---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| Constructor Detail |
|---|
public FileJobQueue(java.lang.ClassLoader cl,
java.io.File f)
throws java.io.IOException
cl - the class loaderf - the file to read
java.io.IOException - if there's a problem reading the jobs
public FileJobQueue(java.io.File f)
throws java.io.IOException
f - the file
java.io.IOException
public FileJobQueue(java.lang.ClassLoader cl,
java.io.Reader r)
throws java.io.IOException
cl - the classloaderr - the reader
java.io.IOException - if there's a problem reading the jobs
public FileJobQueue(java.io.Reader r)
throws java.io.IOException
r - the reader
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||