IntervalParser (Hyperic HQ Plugin API)
Keywords: org.hyperic.util.paramParser.IntervalParser class

Overview | Package | Class | Tree | Deprecated | Index | Help
| 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

## org.hyperic.util.paramParser
Class IntervalParser

    java.lang.Object
      org.hyperic.util.paramParser.IntervalParser

All Implemented Interfaces:
  FormatParser

    public class IntervalParser

extends java.lang.Object
implements FormatParser

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

### IntervalParser

    public IntervalParser()

Method Detail

### parseValue

    public void parseValue(java.lang.String arg)
                    throws ParseException

  Description copied from interface: `FormatParser`
  Called when the parser finds a parameter fitting the class implementing this interface (as in #IntegerParser)

  Specified by:
    `parseValue` in interface `FormatParser`
  Throws:
    `ParseException`

### getValue

    public long getValue()

Overview | Package | Class | Tree | Deprecated | Index | Help
| 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

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.