org.objectledge.scheduler.cron
Class CronParser
java.lang.Object
org.objectledge.scheduler.cron.CronParser
- All Implemented Interfaces:
- CronParserConstants
public class CronParser
- extends Object
- implements CronParserConstants
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
monthName
private static final String[] monthName
weekdayName
private static final String[] weekdayName
spec_reboot
private static final int[][] spec_reboot
spec_yearly
private static final int[][] spec_yearly
spec_monthly
private static final int[][] spec_monthly
spec_weekly
private static final int[][] spec_weekly
spec_daily
private static final int[][] spec_daily
spec_hourly
private static final int[][] spec_hourly
token_source
public CronParserTokenManager token_source
jj_input_stream
JavaCharStream jj_input_stream
token
public Token token
jj_nt
public Token jj_nt
jj_scanpos
private Token jj_scanpos
jj_lastpos
private Token jj_lastpos
jj_la
private int jj_la
lookingAhead
public boolean lookingAhead
jj_semLA
private boolean jj_semLA
jj_gen
private int jj_gen
jj_la1
private final int[] jj_la1
jj_la1_0
private static int[] jj_la1_0
jj_la1_1
private static int[] jj_la1_1
jj_2_rtns
private final CronParser.JJCalls[] jj_2_rtns
jj_rescan
private boolean jj_rescan
jj_gc
private int jj_gc
jj_ls
private final CronParser.LookaheadSuccess jj_ls
jj_expentries
private Vector jj_expentries
jj_expentry
private int[] jj_expentry
jj_kind
private int jj_kind
jj_lasttokens
private int[] jj_lasttokens
jj_endpos
private int jj_endpos
CronParser
public CronParser(InputStream stream)
CronParser
public CronParser(Reader stream)
CronParser
public CronParser(CronParserTokenManager tm)
parse
public int[][] parse(String config)
throws ParseException,
ValueOutOfRangeException
- Throws:
ParseException
ValueOutOfRangeException
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
dump
public static void dump(int[][] config)
number
public final int number(int min,
int max)
throws ParseException
- Throws:
ParseException
range
public final List range(int min,
int max)
throws ParseException
- Throws:
ParseException
value_or_range
public final List value_or_range(int min,
int max)
throws ParseException
- Throws:
ParseException
list_of_values
public final List list_of_values(int min,
int max)
throws ParseException
- Throws:
ParseException
value_spec
public final int[] value_spec(int min,
int max)
throws ParseException
- Throws:
ParseException
month_name
public final int[] month_name()
throws ParseException
- Throws:
ParseException
weekday_name
public final int[] weekday_name()
throws ParseException
- Throws:
ParseException
special_config
public final int[][] special_config()
throws ParseException
- Throws:
ParseException
cron_config
public final int[][] cron_config()
throws ParseException
- Throws:
ParseException
test
public final void test()
throws ParseException
- Throws:
ParseException
jj_2_1
private final boolean jj_2_1(int xla)
jj_3_1
private final boolean jj_3_1()
jj_3R_3
private final boolean jj_3R_3()
jj_3R_4
private final boolean jj_3R_4()
jj_la1_0
private static void jj_la1_0()
jj_la1_1
private static void jj_la1_1()
ReInit
public void ReInit(InputStream stream)
ReInit
public void ReInit(Reader stream)
ReInit
public void ReInit(CronParserTokenManager tm)
jj_consume_token
private final Token jj_consume_token(int kind)
throws ParseException
- Throws:
ParseException
jj_scan_token
private final boolean jj_scan_token(int kind)
getNextToken
public final Token getNextToken()
getToken
public final Token getToken(int index)
jj_add_error_token
private void jj_add_error_token(int kind,
int pos)
generateParseException
public ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()
jj_rescan_token
private final void jj_rescan_token()
jj_save
private final void jj_save(int index,
int xla)
Copyright © 2003-2006 objectledge.org. All Rights Reserved.