testsgen.ifc
Interface PropertyIfc

All Known Implementing Classes:
PropertyImpl

public interface PropertyIfc

PropertyIfc.java defines interface for getting system properties by all classes used within unittestsgen projects.

Why use additional class for performing actions which are available through basic JDK library? Using additional class which covers standard property access is useful for setting properties in other standard ways. For example you can set property with -D java parameter or as command line argument or in any config file or even in data base. Using this interface should hide for you where properties are stored in particular case.

Created: Sun Dec 2 15:36:32 2001

Version:
$Revision: 1.4 $
Author:
Artur Hefczyc

Method Summary
 java.lang.String getProperty(java.lang.String key)
           
 boolean getProperty(java.lang.String key, boolean def)
           
 int getProperty(java.lang.String key, int def)
           
 long getProperty(java.lang.String key, long def)
           
 java.lang.String getProperty(java.lang.String key, java.lang.String def)
           
 void setProperty(java.lang.String key, java.lang.String value)
           
 

Method Detail

getProperty

public java.lang.String getProperty(java.lang.String key)

getProperty

public java.lang.String getProperty(java.lang.String key,
                                    java.lang.String def)

setProperty

public void setProperty(java.lang.String key,
                        java.lang.String value)

getProperty

public boolean getProperty(java.lang.String key,
                           boolean def)

getProperty

public long getProperty(java.lang.String key,
                        long def)

getProperty

public int getProperty(java.lang.String key,
                       int def)


Copyright GNU, wttools developers Team.