org.apache.jmeter
Class JMeterUtils

java.lang.Object
  |
  +--org.apache.jmeter.JMeterUtils

class JMeterUtils
extends java.lang.Object

This class contains the static utility methods used by JMeter.

Version:
$Revision: 1.1 $ $Date: 1999/02/24 15:31:43 $
Author:
Stefano Mazzocchi

Constructor Summary
(package private) JMeterUtils()
           
 
Method Summary
protected static javax.swing.JButton createButton(java.lang.String name, java.awt.event.ActionListener listener)
           
protected static java.util.Hashtable getAlias(java.util.Properties properties)
          Creates the vector of alias strings.
protected static java.util.Hashtable getHashtable(java.util.Properties properties, java.lang.String name)
          Creates a vector of strings for all the properties that start with a common prefix.
protected static javax.swing.ImageIcon getImage(java.lang.String name)
          This looks for the requested image in the classpath under org.apache.jmeter.images.
protected static java.util.Properties getProperties(java.lang.String file)
          This method is used by the init method to load the property file that may even reside in the user space, or in the classpath under org.apache.jmeter.jmeter.properties
protected static java.util.Vector getTimers(java.util.Properties properties)
          Creates the vector of Timers plugins.
protected static java.util.Vector getVector(java.util.Properties properties, java.lang.String name)
          Creates a vector of strings for all the properties that start with a common prefix.
protected static java.util.Vector getVisualizers(java.util.Properties properties)
          Creates the vector of visualizer plugins.
protected static java.util.Vector instantiate(java.util.Vector v, java.lang.String className)
          Instantiate a vector of classes
protected static java.util.Vector tokenize(java.lang.String string, java.lang.String separator)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

JMeterUtils

JMeterUtils()
Method Detail

getProperties

protected static java.util.Properties getProperties(java.lang.String file)
This method is used by the init method to load the property file that may even reside in the user space, or in the classpath under org.apache.jmeter.jmeter.properties

getImage

protected static javax.swing.ImageIcon getImage(java.lang.String name)
This looks for the requested image in the classpath under org.apache.jmeter.images.

getTimers

protected static java.util.Vector getTimers(java.util.Properties properties)
Creates the vector of Timers plugins.

getVisualizers

protected static java.util.Vector getVisualizers(java.util.Properties properties)
Creates the vector of visualizer plugins.

getAlias

protected static java.util.Hashtable getAlias(java.util.Properties properties)
Creates the vector of alias strings.

getVector

protected static java.util.Vector getVector(java.util.Properties properties,
                                            java.lang.String name)
Creates a vector of strings for all the properties that start with a common prefix.

getHashtable

protected static java.util.Hashtable getHashtable(java.util.Properties properties,
                                                  java.lang.String name)
Creates a vector of strings for all the properties that start with a common prefix.

instantiate

protected static java.util.Vector instantiate(java.util.Vector v,
                                              java.lang.String className)
Instantiate a vector of classes

tokenize

protected static java.util.Vector tokenize(java.lang.String string,
                                           java.lang.String separator)

createButton

protected static javax.swing.JButton createButton(java.lang.String name,
                                                  java.awt.event.ActionListener listener)

Copyright (c) 1998-99 The Java Apache Project