org.bootchart.parser
public class HeaderParser extends Object
header
log file, which contains
the chart title and basic information about the system, OS release,
CPU, etc.
Method Summary | |
---|---|
static int | getNumCPUs(Properties headers)
Get the number of CPUs from the system.cpu header
property.
|
static Properties | oldParseLog(BufferedReader reader)
Parses the header log file (old version).
|
static Properties | parseLog(InputStream is)
Parses the header log file. |
system.cpu
header
property.
Parameters: headers header properties
Returns: the number of CPUs
Parameters: reader the reader to read from
Returns: header properties
Throws: IOException if an I/O error occurs
Properties
instance
should contain at least the following values:
Parameters: is the input stream to read from
Returns: header properties
Throws: IOException if an I/O error occurs