|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Importer
Importer holds a Set of ImportEntries and facilitates the
tag within a
by allowing
Classes to be loaded using a specified ClassLoader
Method Summary | |
---|---|
void |
addImport(ImportEntry importEntry)
Adds an ImportEntry to a Set |
java.util.Set |
getImportEntries()
|
java.util.Set |
getImports()
|
java.lang.Class |
importClass(java.lang.ClassLoader cl,
java.lang.String className)
Imports a Class using the given ClassLoader |
boolean |
isEmpty()
|
Method Detail |
---|
void addImport(ImportEntry importEntry)
Adds an ImportEntry to a Set
importEntry
- -
the importEntryjava.lang.Class importClass(java.lang.ClassLoader cl, java.lang.String className) throws java.lang.ClassNotFoundException, java.lang.Error
cl
- -
the ClassLoader to useclassName
- -
the name of the Class to import
java.lang.ClassNotFoundException
- -
Thrown if a Class is not found
java.lang.Error
- Thrown is a class is ambiguously imported.java.util.Set getImportEntries()
java.util.Set getImports()
boolean isEmpty()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |