@Plugin(name="CronExpression", category="TypeConverter") public static class TypeConverters.CronExpressionConverter extends Object implements TypeConverter<CronExpression>
Constructor and Description |
---|
CronExpressionConverter() |
Modifier and Type | Method and Description |
---|---|
CronExpression |
convert(String s)
Converts a String to a given type.
|
public CronExpressionConverter()
public CronExpression convert(String s) throws Exception
TypeConverter
convert
in interface TypeConverter<CronExpression>
s
- the String to convert. Cannot be null
.Exception
- thrown when a conversion error occursCopyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.