zeus.util
Class SystemProps

java.lang.Object
  extended byzeus.util.SystemProps

public class SystemProps
extends java.lang.Object


Field Summary
protected static java.lang.String[] defaults
           
static boolean FIPA_IMPLEMENTED_TIGHTLY
          this is a patent hack.
protected static java.util.Properties props
           
private static StringHashtable transports
          transports is used to allow configuration of transport addresses at runtime
 
Constructor Summary
SystemProps()
           
 
Method Summary
static double getDouble(java.lang.String key)
           
static double getDouble(java.lang.String key, double defaultValue)
           
static int getInt(java.lang.String key)
           
static int getInt(java.lang.String key, int defaultValue)
           
static long getLong(java.lang.String key)
           
static long getLong(java.lang.String key, long defaultValue)
           
static java.lang.String getProperty(java.lang.String key)
           
static java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
           
static boolean getState(java.lang.String key)
           
static boolean getState(java.lang.String key, boolean defaultValue)
           
static TransportConfig getTransport(java.lang.String name)
           
static void list(java.io.PrintStream out)
           
static void list(java.io.PrintWriter out)
           
static void load(java.io.InputStream in)
           
static void main(java.lang.String[] args)
           
static java.util.Enumeration propertyNames()
           
static void save(java.io.OutputStream out, java.lang.String header)
           
static void setTransport(java.lang.String name, TransportConfig conf)
           
static void setTransports(StringHashtable trans)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

props

protected static java.util.Properties props

defaults

protected static final java.lang.String[] defaults

FIPA_IMPLEMENTED_TIGHTLY

public static boolean FIPA_IMPLEMENTED_TIGHTLY
this is a patent hack. I am very, very sorry,

Since:
1.1 (hopefully removed later, in the perfect world...

transports

private static StringHashtable transports
transports is used to allow configuration of transport addresses at runtime

Constructor Detail

SystemProps

public SystemProps()
Method Detail

getProperty

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

getProperty

public static java.lang.String getProperty(java.lang.String key,
                                           java.lang.String defaultValue)

getState

public static boolean getState(java.lang.String key)

getState

public static boolean getState(java.lang.String key,
                               boolean defaultValue)

getDouble

public static double getDouble(java.lang.String key)

getDouble

public static double getDouble(java.lang.String key,
                               double defaultValue)

getInt

public static int getInt(java.lang.String key)

getInt

public static int getInt(java.lang.String key,
                         int defaultValue)

getLong

public static long getLong(java.lang.String key)

getLong

public static long getLong(java.lang.String key,
                           long defaultValue)

list

public static void list(java.io.PrintStream out)

list

public static void list(java.io.PrintWriter out)

load

public static void load(java.io.InputStream in)
                 throws java.io.IOException
Throws:
java.io.IOException

propertyNames

public static java.util.Enumeration propertyNames()

save

public static void save(java.io.OutputStream out,
                        java.lang.String header)

main

public static void main(java.lang.String[] args)

getTransport

public static TransportConfig getTransport(java.lang.String name)

setTransport

public static void setTransport(java.lang.String name,
                                TransportConfig conf)

setTransports

public static void setTransports(StringHashtable trans)


Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.