|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.chess.it.util.config.DurationParser
Helper class that parses a String and interprets it as a duration.
| Constructor Summary | |
(package private) |
DurationParser()
|
| Method Summary | |
long |
getDurationInMs(java.lang.String key,
java.lang.String value)
Main parse method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
DurationParser()
| Method Detail |
public long getDurationInMs(java.lang.String key,
java.lang.String value)
throws ConfigurationException
key - Is only used to display better error messages if necessary.value - String to parse. Cannot be null.
ConfigurationException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||