org.opensync.engine.server
Class Sources

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended byorg.opensync.engine.server.Sources
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class Sources
extends java.util.Hashtable

This class represents a list of sources. It's just a helper class.

See Also:
Serialized Form

Constructor Summary
Sources()
          Construct a Sources object
 
Method Summary
 void add(Source src)
          Add a source to the list
 Source get(java.lang.String name)
          Get a source
 java.lang.String toString()
          Use for debug only
 
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, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Sources

public Sources()
Construct a Sources object

Method Detail

add

public void add(Source src)
Add a source to the list

Parameters:
src -

get

public Source get(java.lang.String name)
Get a source

Parameters:
name - the name of the source to get

toString

public java.lang.String toString()
Use for debug only



Copyright © 2004 sourceforge. All Rights Reserved.