|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tagtraum.sixbs.AdapterFinder
Searches for Adapater classes. First the same package as the class's is checked. Then the package searchpath is searched.
Adapter
Field Summary | |
static java.lang.String |
vcid
Source-Version |
Constructor Summary | |
AdapterFinder()
Instantiates AdapterFinder with DefaultPackages (e.g. |
Method Summary | |
protected void |
addDefaultPackages()
Is called by the constructor and adds com.tagtraum.sixbs.adapters.util . |
void |
addPackage(java.lang.Package pakkage)
Adds a package to the searchpath. |
void |
addPackage(java.lang.String pakkage)
Adds a package to the searchpath. |
java.lang.Class |
find(java.lang.Object object)
Returns an Adapter class for the given object or null if none is found. |
static AdapterFinder |
getDefaultAdapterFinder()
Returns default AdapterFinder. |
java.util.Enumeration |
packages()
Enumeration of all package in the searchpath. |
void |
removePackage(java.lang.Package pakkage)
Removes a package from the searchpath. |
void |
removePackage(java.lang.String pakkage)
Removes a package from the searchpath. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String vcid
Constructor Detail |
public AdapterFinder()
Method Detail |
protected void addDefaultPackages()
com.tagtraum.sixbs.adapters.util
.
public void addPackage(java.lang.Package pakkage)
Package.getPackage(String)
,
addPackage(String)
public void removePackage(java.lang.Package pakkage)
Package.getPackage(String)
,
removePackage(String)
public void addPackage(java.lang.String pakkage)
public void removePackage(java.lang.String pakkage)
public java.util.Enumeration packages()
public static AdapterFinder getDefaultAdapterFinder()
public java.lang.Class find(java.lang.Object object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |