databionics.modules
Class Modules

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.AbstractSequentialList<E>
              extended by java.util.LinkedList
                  extended by databionics.modules.Modules
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.Queue

public class Modules
extends java.util.LinkedList

List of all BDM modules.

See Also:
Serialized Form

Field Summary
protected static org.apache.log4j.Logger log
          log4j logging
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
Modules()
          Default constructor
 
Method Summary
 Tool findToolByName(java.lang.String name)
          Find a tool by its name
 void load(java.io.InputStream in)
          Load the modules out of an XML document
 void load(java.lang.String filename)
          Load the modules out of an XML document
 
Methods inherited from class java.util.LinkedList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, peek, poll, remove, remove, remove, removeFirst, removeLast, set, size, toArray, toArray
 
Methods inherited from class java.util.AbstractSequentialList
iterator
 
Methods inherited from class java.util.AbstractList
equals, hashCode, listIterator, removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, retainAll, subList
 

Field Detail

log

protected static org.apache.log4j.Logger log
log4j logging

Constructor Detail

Modules

public Modules()
Default constructor

Method Detail

load

public void load(java.lang.String filename)
Load the modules out of an XML document

Parameters:
filename - name of the XML document

load

public void load(java.io.InputStream in)
Load the modules out of an XML document

Parameters:
filename - name of the XML document

findToolByName

public Tool findToolByName(java.lang.String name)
Find a tool by its name

Parameters:
name - name of the tool
Returns:
Tool tool with this name


Copyright © 2005-2006 Databionics Research Group. All Rights Reserved.