abbot.util
Class Properties

java.lang.Object
  extended by abbot.util.Properties

public class Properties
extends Object


Constructor Summary
Properties()
           
 
Method Summary
static int getProperty(String name, int defValue, int min, int max)
          Load an integer system property, keeping it within the given valid range.
static long getProperty(String name, long min, long max, long defValue)
          Load a long system property, keeping it within the given valid range.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Properties

public Properties()
Method Detail

getProperty

public static int getProperty(String name,
                              int defValue,
                              int min,
                              int max)
Load an integer system property, keeping it within the given valid range.


getProperty

public static long getProperty(String name,
                               long min,
                               long max,
                               long defValue)
Load a long system property, keeping it within the given valid range.



Copyright © 2002-2008 Timothy Wall. All Rights Reserved.
Abbot is hosted on

SourceForge