| Constructor and Description |
|---|
ClassClassPath(Class<?> c)
Creates a search path.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Does nothing.
|
URL |
find(String classname)
Obtains the URL of the specified class file.
|
InputStream |
openClassfile(String classname)
Obtains a class file by
getResourceAsStream(). |
String |
toString() |
public ClassClassPath(Class<?> c)
c - the Class object used to obtain a class
file. getResourceAsStream() is called on
this object.public InputStream openClassfile(String classname)
getResourceAsStream().openClassfile in interface ClassPathclassname - a fully-qualified class namejavassist.TranslatorCopyright © December 07, 2012–2015 The Internet Party. All rights reserved.