edu.sdsc.inca
Class WrapReporter

java.lang.Object
  extended by edu.sdsc.inca.WrapReporter

public class WrapReporter
extends java.lang.Object

An class that wraps a reporter, represented as a Properties object, with some convenience methods.


Field Summary
 java.util.Properties reporter
           
 
Constructor Summary
WrapReporter(java.util.Properties reporter)
          Constructs a new WrapReporter.
 
Method Summary
 java.lang.String getProperty(java.lang.String property)
          Returns the value of a single reporter property.
 void setProperty(java.lang.String property, java.lang.String value)
          Sets the value of a single reporter property.
 java.lang.String toString()
          An override of the default toString function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

reporter

public java.util.Properties reporter
Constructor Detail

WrapReporter

public WrapReporter(java.util.Properties reporter)
Constructs a new WrapReporter.

Parameters:
reporter - a set of properties that defines the reporter
Method Detail

getProperty

public java.lang.String getProperty(java.lang.String property)
Returns the value of a single reporter property.

Parameters:
property - the nume of the specified property
Returns:
the value of the specified property

setProperty

public void setProperty(java.lang.String property,
                        java.lang.String value)
Sets the value of a single reporter property.

Parameters:
property - the nume of the specified property
value - the value of the specified property

toString

public java.lang.String toString()
An override of the default toString function.

Overrides:
toString in class java.lang.Object