dk.brics.misc
Class Properties

java.lang.Object
  extended by dk.brics.misc.Properties

public class Properties
extends Object

System properties.


Method Summary
static boolean get(String p)
          Checks whether the given system property is set.
static String[] getStrings(String p)
          Returns list of strings from the given property using comma as delimiter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static boolean get(String p)
Checks whether the given system property is set. The values false and 0 are here equivalent to "unset".

Parameters:
p - property name
Returns:
property value

getStrings

public static String[] getStrings(String p)
Returns list of strings from the given property using comma as delimiter.

Parameters:
p - property name
Returns:
list of string values, null if none


Copyright © 2005-2008 Anders Møller.