public class SensorsParser extends ShellParser
| Constructor and Description |
|---|
SensorsParser() |
| Modifier and Type | Method and Description |
|---|---|
String |
getInfo()
Return a String with information about this class
|
EventRecord[] |
monitor()
Invokes query() to do the parsing and handles parsing errors.
|
EventRecord |
query(String s)
Reads and parses the output of the 'sensors' command
and creates an appropriate EventRecord that holds
the desirable information.
|
findAll, findPattern, monitorpublic EventRecord query(String s) throws Exception
query in class ShellParsers - unused parameterExceptionpublic EventRecord[] monitor()
monitor in interface Monitoredmonitor in class ShellParserpublic String getInfo()
Copyright © 2009 The Apache Software Foundation