org.bootchart.parser.linux
Class PidNameParser

java.lang.Object
  extended byorg.bootchart.parser.linux.PidNameParser

public class PidNameParser
extends java.lang.Object

PidNameParser parses PID to command name mapping log files.


Constructor Summary
PidNameParser()
           
 
Method Summary
static java.util.Map parseLog(java.io.InputStream is)
          Parses the pidname log file (containing pid to command name mappings).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PidNameParser

public PidNameParser()
Method Detail

parseLog

public static java.util.Map parseLog(java.io.InputStream is)
                              throws java.io.IOException
Parses the pidname log file (containing pid to command name mappings).

Parameters:
is - the input stream to parse
Returns:
a map of Integer to String instances
Throws:
java.io.IOException - if an I/O error occurs