Classes | |
class | JarClasses |
class | JarFileNameFilter |
Public Member Functions | |
JarFolder (File folder) | |
File[] | getJarFiles () |
String[] | getJars () |
File | getJar (String name) |
boolean | containsJar (String jarname) |
Collection< JarClasses > | getJarsContainingClass (String javaClass) throws Exception |
String | getAbsolutePath () |
JarFolder holds a folder of jar files allowing to perform the most common operation.
alma.acs.eclipse.utils.jar.JarFolder.JarFolder | ( | File | folder | ) |
boolean alma.acs.eclipse.utils.jar.JarFolder.containsJar | ( | String | jarname | ) |
Check if the folder contains a given jar file.
jarname | A jar file like lc.jar |
true
if the folder contains the passed jar References alma.acs.eclipse.utils.jar.JarFolder.getJarFiles().
String alma.acs.eclipse.utils.jar.JarFolder.getAbsolutePath | ( | ) |
Return the absolute path of this folder of jars.
File alma.acs.eclipse.utils.jar.JarFolder.getJar | ( | String | name | ) |
Get the File of the jar with the given name.
name | The name of the jar like for example lc.jar |
null
if the jar does not exist in the folder References alma.acs.eclipse.utils.jar.JarFolder.getJarFiles().
Referenced by alma.acs.eclipse.utils.jar.AcsFolders.getJar().
File [] alma.acs.eclipse.utils.jar.JarFolder.getJarFiles | ( | ) |
Referenced by alma.acs.eclipse.utils.jar.JarFolder.containsJar(), alma.acs.eclipse.utils.jar.JarFolder.getJar(), alma.acs.eclipse.utils.jar.JarFolder.getJars(), and alma.acs.eclipse.utils.jar.JarFolder.getJarsContainingClass().
String [] alma.acs.eclipse.utils.jar.JarFolder.getJars | ( | ) |
Return the list of jar names in folder. A jar name can be for example lc.jar
.
References alma.acs.eclipse.utils.jar.JarFolder.getJarFiles().
Collection<JarClasses> alma.acs.eclipse.utils.jar.JarFolder.getJarsContainingClass | ( | String | javaClass | ) | throws Exception |
Return a list of jar files containing a given class.
The class name can be the whole name of a class or the beginning of its name. For example if javaClass
is LoggingClient
, this class returns both LoggingClient
and LoggingClientText
from lc.jar
.
javaClassName | The name of a class or a the beginning of its name |
null
if no classes in the jars match with the passed partial name References alma.acs.eclipse.utils.jar.JarFolder.getJarFiles().