org.mbari.siam.foce.utils
Class FOCERelayProperties

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<java.lang.Object,java.lang.Object>
          extended by java.util.Properties
              extended by org.mbari.siam.foce.utils.FOCERelayProperties
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,java.lang.Object>

public class FOCERelayProperties
extends java.util.Properties

Representation of relay.properties file

See Also:
Serialized Form

Nested Class Summary
 class FOCERelayProperties.RelayProperty
           
 
Field Summary
protected static int MAX_PROPS
           
static java.lang.String POWER_PREFIX
           
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
FOCERelayProperties()
           
FOCERelayProperties(java.io.InputStream istream)
           
FOCERelayProperties(java.lang.String urlString)
           
 
Method Summary
 FOCERelayProperties.RelayProperty findPropertyByDescriptor(java.lang.String key)
           
 FOCERelayProperties.RelayProperty findPropertyByRelay(int board, int relay)
           
 java.util.Collection getAllProperties()
           
 FOCERelayProperties.RelayProperty getRelayProperty(java.lang.String key)
           
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

POWER_PREFIX

public static final java.lang.String POWER_PREFIX
See Also:
Constant Field Values

MAX_PROPS

protected static final int MAX_PROPS
See Also:
Constant Field Values
Constructor Detail

FOCERelayProperties

public FOCERelayProperties()

FOCERelayProperties

public FOCERelayProperties(java.lang.String urlString)
                    throws java.net.MalformedURLException,
                           java.io.IOException
Throws:
java.net.MalformedURLException
java.io.IOException

FOCERelayProperties

public FOCERelayProperties(java.io.InputStream istream)
                    throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getRelayProperty

public FOCERelayProperties.RelayProperty getRelayProperty(java.lang.String key)
                                                   throws InvalidPropertyException
Throws:
InvalidPropertyException

getAllProperties

public java.util.Collection getAllProperties()

findPropertyByDescriptor

public FOCERelayProperties.RelayProperty findPropertyByDescriptor(java.lang.String key)

findPropertyByRelay

public FOCERelayProperties.RelayProperty findPropertyByRelay(int board,
                                                             int relay)


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.