it.sauronsoftware.cron4j
Class SchedulingPatternValidator

java.lang.Object
  extended by it.sauronsoftware.cron4j.SchedulingPatternValidator

Deprecated. Use SchedulingPattern.validate(String).

public class SchedulingPatternValidator
extends java.lang.Object

A scheduling patterns validator.

The class lets you validate a scheduling pattern before/without using it with a Scheduler instance. Simply call:

 boolean valid = SchedulingPatternValidator.validate(thePattern);
 

It is useful in validating user-entered patterns.

Author:
Carlo Pelliccia

Constructor Summary
SchedulingPatternValidator()
          Deprecated.  
 
Method Summary
static boolean validate(java.lang.String schedulingPattern)
          Deprecated. Use SchedulingPattern.validate(String).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchedulingPatternValidator

public SchedulingPatternValidator()
Deprecated. 
Method Detail

validate

public static boolean validate(java.lang.String schedulingPattern)
Deprecated. Use SchedulingPattern.validate(String).

Validates a string as a scheduling pattern.

Parameters:
schedulingPattern - The pattern to validate.
Returns:
true if the given string represents a valid scheduling pattern; false otherwise.