org.omegahat.Environment.Tools.ClassList
Class LocalClassLocator

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--org.omegahat.Environment.Utils.OrderedTable
                    |
                    +--org.omegahat.Environment.Tools.ClassList.ClassLocator
                          |
                          +--org.omegahat.Environment.Tools.ClassList.LocalClassLocator
All Implemented Interfaces:
Activable, AssignableSubset, ClassLocatorInt, java.lang.Cloneable, Database, java.util.Map, java.io.Serializable, ShallowCopyable, Subsettable

public class LocalClassLocator
extends ClassLocator

See Also:
Serialized Form

Inner classes inherited from class java.util.Map
java.util.Map.Entry
 
Field Summary
static boolean EagerLoader
           
 
Fields inherited from class org.omegahat.Environment.Utils.OrderedTable
listeners, name, orderedElements, orderedKeys, state
 
Fields inherited from interface org.omegahat.Environment.Databases.Database
ALL, ASSIGN, ATTACH, DETACH, NULL_ENTRY, READ, READ_WRITE, REMOVE
 
Fields inherited from interface org.omegahat.Environment.Databases.Activable
ACTIVE, INACTIVE
 
Constructor Summary
LocalClassLocator()
           
LocalClassLocator(java.io.File f)
           
LocalClassLocator(java.net.URL u)
           
 
Method Summary
 ClassList classList(java.io.File f)
          Creates an appropriate ClassList object based on the characteristics of the specified file.
 ClassList classList(java.net.URL u)
          Constructs a class list based on the contents of the URL.
 
Methods inherited from class org.omegahat.Environment.Tools.ClassList.ClassLocator
add, add, add, add, add, add, add, add, append, append, canReadSerializedLists, classList, classList, findClass, findClasses, serializedName
 
Methods inherited from class org.omegahat.Environment.Utils.OrderedTable
add, addListListener, assign, assignSubset, attach, clear, copy, copy, detach, elementAt, exists, get, getName, getState, keys, listeners, listeners, notifyListeners, objects, ordered, orderedKeys, put, put, put, remove, remove, removeElement, removeElement, removeElementAt, removeElementAt, removeListListener, setElementAt, setName, setState, subset, subset, subset
 
Methods inherited from class java.util.Hashtable
clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keySet, putAll, rehash, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.omegahat.Environment.Tools.ClassList.ClassLocatorInt
containsKey, elements, get, orderedKeys, size
 
Methods inherited from interface org.omegahat.Environment.Databases.Database
size
 

Field Detail

EagerLoader

public static boolean EagerLoader
Constructor Detail

LocalClassLocator

public LocalClassLocator()

LocalClassLocator

public LocalClassLocator(java.io.File f)

LocalClassLocator

public LocalClassLocator(java.net.URL u)
Method Detail

classList

public ClassList classList(java.io.File f)
Description copied from class: ClassLocator
Creates an appropriate ClassList object based on the characteristics of the specified file. If first sees if it can read a serialized version associated with this file. It does so by using this class' getResource() method.
Overrides:
classList in class ClassLocator

classList

public ClassList classList(java.net.URL u)
Description copied from class: ClassLocator
Constructs a class list based on the contents of the URL. This should be a zip or jar file.
Overrides:
classList in class ClassLocator