org.objectweb.cjdbc.common.monitor
Class DataCollectionNames

java.lang.Object
  extended byorg.objectweb.cjdbc.common.monitor.DataCollectionNames

public final class DataCollectionNames
extends java.lang.Object

Name convertions for data collection types.

Author:
Nicolas Modrzyk , Emmanuel Cecchet

Constructor Summary
DataCollectionNames()
           
 
Method Summary
static java.lang.String get(int dataType)
          Convert the type reference of a collector into a String
static int getTypeFromCommand(java.lang.String command)
          Return the type of the collector corresponding to the command
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataCollectionNames

public DataCollectionNames()
Method Detail

get

public static java.lang.String get(int dataType)
Convert the type reference of a collector into a String

Parameters:
dataType - see DataCollection
Returns:
a String that describes the collector

getTypeFromCommand

public static int getTypeFromCommand(java.lang.String command)
Return the type of the collector corresponding to the command

Parameters:
command - to get type form
Returns:
an int


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.