org.ow2.jasmine.monitoring.mbeancmd.graph.conf
Class Constants

java.lang.Object
  extended by org.ow2.jasmine.monitoring.mbeancmd.graph.conf.Constants
Direct Known Subclasses:
Configurator, GraphConfig, SerieConfig

public class Constants
extends java.lang.Object

Graph constants.


Field Summary
static int DOUBLE
          The "double" data type.
static java.lang.String GRAPH_CONFIG_PATH
          Configuration file for the graph.
static int LONG
          The "long" data type (can also represent time since 01/01/1970).
 
Constructor Summary
Constants()
           
 
Method Summary
static int getType(java.lang.String f)
          Gets the type of a format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LONG

public static final int LONG
The "long" data type (can also represent time since 01/01/1970).

See Also:
Constant Field Values

DOUBLE

public static final int DOUBLE
The "double" data type.

See Also:
Constant Field Values

GRAPH_CONFIG_PATH

public static final java.lang.String GRAPH_CONFIG_PATH
Configuration file for the graph.

See Also:
Constant Field Values
Constructor Detail

Constants

public Constants()
Method Detail

getType

public static final int getType(java.lang.String f)
                         throws java.io.InvalidObjectException
Gets the type of a format.

Parameters:
f - Format, for example "double" or "long". Case is ignored.
Returns:
LONG or DOUBLE
Throws:
java.io.InvalidObjectException - f doesn't match any format.