|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
cancelJarLoadingProcess()
|
List |
dynamicallyFindJarClasses(String jarFilePath)
Populates a list with YASLJarResource objects from the class files contained in the jar file or files referenced by the jarFilePath argument. |
List |
dynamicallyFindJarResources(String jarDirPath)
Populates a list with YASLJarResource objects from the non-class files contained in the jar file or files referenced by the jarFilePath argument. |
List |
dynamicallyFindJarResources(String jarDirPath,
Set extenders)
Populates a list with YASLJarResource objects from the non-class files contained in the jar file or files referenced by the jarFilePath argument. |
Map |
dynamicallyLoadJarClasses(String jarFilePath)
Loads any class files contained in the jar file or files referenced by the jarFilePath argument. |
void |
setStatusMonitor(DynamicJarLoaderStatus statusMonitor)
|
Method Detail |
public void cancelJarLoadingProcess()
public void setStatusMonitor(DynamicJarLoaderStatus statusMonitor)
public Map dynamicallyLoadJarClasses(String jarFilePath) throws MalformedURLException, IOException, ClassNotFoundException
The classes loaded will be used to populate the classFilesMap with class names mapped to class instances.
jarFilePath
- String
MalformedURLException
IOException
ClassNotFoundException
public List dynamicallyFindJarClasses(String jarFilePath) throws MalformedURLException, IOException
jarFilePath
- String
MalformedURLException
IOException
public List dynamicallyFindJarResources(String jarDirPath) throws MalformedURLException, IOException
jarDirPath
- String
MalformedURLException
IOException
public List dynamicallyFindJarResources(String jarDirPath, Set extenders) throws MalformedURLException, IOException
Users can limit the types of resources returned by adding their file extenders to the extenders set. For example, to only return a list of xml files, add "xml" to the extenders set.
If users pass in an empty set, all non-class file resources will be returned.
jarDirPath
- Stringextenders
- Set of file extenders
MalformedURLException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |