|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.jasmine.monitoring.mbeancmd.graph.Grapher
public class Grapher
Draws a graph based on data coming from an Outer pipe.
Field Summary | |
---|---|
private Configuration |
config
Grapher configuation. |
private Outer[] |
outers
Outers that feed the series. |
private Serie[] |
series
Series. |
Constructor Summary | |
---|---|
Grapher(java.io.PipedOutputStream in,
java.lang.String definitions)
Creates a new Grapher. |
Method Summary | |
---|---|
private static void |
injectData(java.io.PrintWriter pr,
Grapher g)
Injects data. |
static void |
main(java.lang.String[] args)
Tests the Grapher implementation. |
void |
start()
Starts the Series and then the Outers. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Configuration config
private Serie[] series
private Outer[] outers
Constructor Detail |
---|
public Grapher(java.io.PipedOutputStream in, java.lang.String definitions) throws java.io.IOException
in
- Input pipe.definitions
- Path to XML file defining the graph configuration.
java.io.IOException
- If ther's a problem reading definitions.Method Detail |
---|
public static void main(java.lang.String[] args) throws java.io.IOException
args
- Arguments to use when creating the graph.
java.io.IOException
- If there's a problem reading the graph definition
XML or creating a pipe.private static void injectData(java.io.PrintWriter pr, Grapher g)
pr
- PrintWriter to the graph.g
- Grapher.public void start()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |