|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hyperic.util.paramParser.IntervalParser
public class IntervalParser
Parses an interval of the form "#[d|h|m|s]" getValue() returns the milliseconds of the duration
| Constructor Summary | |
|---|---|
IntervalParser()
|
|
| Method Summary | |
|---|---|
long |
getValue()
|
void |
parseValue(java.lang.String arg)
Called when the parser finds a parameter fitting the class implementing this interface (as in #IntegerParser) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IntervalParser()
| Method Detail |
|---|
public void parseValue(java.lang.String arg)
throws ParseException
FormatParser
parseValue in interface FormatParserParseExceptionpublic long getValue()
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||