Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.opencms.core
Class CmsCronTable  view CmsCronTable download CmsCronTable.java

java.lang.Object
  extended bycom.opencms.core.CmsCronTable

class CmsCronTable
extends java.lang.Object

Describes a complete crontable with cronentries.


Field Summary
private  java.util.Vector m_cronEntries
          This vector contains all CronEntries for this table
 
Constructor Summary
(package private) CmsCronTable()
          Creates a new empty table.
(package private) CmsCronTable(java.io.Reader reader)
          Creates a new table based on the parameter lines in this Reader.
(package private) CmsCronTable(java.lang.String table)
          Creates a new table based on the parameter lines in this String.
 
Method Summary
 void add(CmsCronEntry entry)
          Adds a new CmsCronEntry.
 CmsCronEntry get(int i)
          Returns one entry of this table.
 java.lang.String getTable()
          Returns this table as string.
 void remove(CmsCronEntry entry)
          Removes one entry from this table.
 int size()
          Returns the size of thos table.
 java.lang.String toString()
          Returns a Stringrepresentation of this object.
(package private)  void update(java.io.Reader reader)
          Updates the table with the new values.
(package private)  void update(java.lang.String table)
          Updates the table with the new values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_cronEntries

private java.util.Vector m_cronEntries
This vector contains all CronEntries for this table

Constructor Detail

CmsCronTable

CmsCronTable()
Creates a new empty table.


CmsCronTable

CmsCronTable(java.lang.String table)
       throws java.io.IOException
Creates a new table based on the parameter lines in this String.


CmsCronTable

CmsCronTable(java.io.Reader reader)
       throws java.io.IOException
Creates a new table based on the parameter lines in this Reader.

Method Detail

update

void update(java.io.Reader reader)
      throws java.io.IOException
Updates the table with the new values.


update

void update(java.lang.String table)
      throws java.io.IOException
Updates the table with the new values.


size

public int size()
Returns the size of thos table.


get

public CmsCronEntry get(int i)
Returns one entry of this table.


add

public void add(CmsCronEntry entry)
Adds a new CmsCronEntry.


remove

public void remove(CmsCronEntry entry)
Removes one entry from this table.


getTable

public java.lang.String getTable()
Returns this table as string.


toString

public java.lang.String toString()
Returns a Stringrepresentation of this object.