Xj3D VRML/X3D Code API

org.web3d.util
Class PropertyTools

java.lang.Object
  extended byorg.web3d.util.PropertyTools

public class PropertyTools
extends java.lang.Object

A set of tools for locating property values.

Version:
Author:
Alan Hudson

Constructor Summary
PropertyTools()
           
 
Method Summary
static boolean fetchSystemProperty(java.lang.String propName, boolean def)
          Go looking for the named system property.
static int fetchSystemProperty(java.lang.String propName, int def)
          Go looking for the named system property.
static int fetchSystemProperty(java.lang.String propName, int def, java.util.HashMap map)
          Go looking for the named system property.
static java.lang.String fetchSystemProperty(java.lang.String propName, java.lang.String def)
          Go looking for the named system property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyTools

public PropertyTools()
Method Detail

fetchSystemProperty

public static java.lang.String fetchSystemProperty(java.lang.String propName,
                                                   java.lang.String def)
Go looking for the named system property.

Parameters:
propName - The name of the property to read
def - The default value if not found

fetchSystemProperty

public static boolean fetchSystemProperty(java.lang.String propName,
                                          boolean def)
Go looking for the named system property.

Parameters:
propName - The name of the property to read
def - The default value if not found

fetchSystemProperty

public static int fetchSystemProperty(java.lang.String propName,
                                      int def,
                                      java.util.HashMap map)
Go looking for the named system property.

Parameters:
propName - The name of the property to read
def - The default value if not found
map - Mapping of the property string to values

fetchSystemProperty

public static int fetchSystemProperty(java.lang.String propName,
                                      int def)
Go looking for the named system property.

Parameters:
propName - The name of the property to read
def - The default value if not found

Xj3D VRML/X3D Code API

Copyright © 2001 - 2005 Web3D Consortium