public interface INode
| Modifier and Type | Method and Description |
|---|---|
void |
cacheResourcesHashCode()
Caches the hash code of all file names contained in this node
|
Class<?> |
findClassInNode(String name,
String classFilePath)
Find in the current node the class with the given name and the given file path
|
String |
findLibraryInNode(String libname)
Find in the current node the library given its name
|
URL |
findResourceInNode(String name)
Find in the current node the given resource
|
List<URL> |
findResourcesInNode(String name)
Find all the URL of the given resource path
|
ClassLoader |
getClassLoader()
Classloader represented by this node
|
INode[] |
getDependencies()
Dependencies of the node
|
Long |
getId()
Id of the node.
|
Long getId()
ClassLoader getClassLoader()
INode[] getDependencies()
Class<?> findClassInNode(String name, String classFilePath) throws Exception
name - the class nameclassFilePath - the file path of the classExceptionURL findResourceInNode(String name) throws Exception
the - path of the resourceExceptionString findLibraryInNode(String libname) throws Exception
the - name of the libraryExceptionList<URL> findResourcesInNode(String name) throws Exception
the - resource pathExceptionvoid cacheResourcesHashCode()
Copyright © 2016. All rights reserved.