
Public Member Functions | |
| AcsFolders (final String[] folders) throws Exception | |
| File | getJar (String name) |
Private Member Functions | |
| boolean | checkFolder (File folder) |
Private Attributes | |
| final JarFolder[] | folders |
AcsFolders helps getting jar files from a given set of folders.
ACS states that the jar file to use should be found by scanning an ordered set of folders, typically ../lib, $INTROOT/lib and so on. AcsFolders Takes an ordered set of folders and helps getting jar files.
| alma::acs::eclipse::utils::jar::AcsFolders::AcsFolders | ( | final String[] | folders | ) | throws Exception [inline] |
Build a AcsFolders object by passing the folder of jars
| Exception | If the passed path are not valid or the folders do not exist |
References checkFolder(), and folders.
| boolean alma::acs::eclipse::utils::jar::AcsFolders::checkFolder | ( | File | folder | ) | [inline, private] |
Check if the passed folder is valid.
true if the folder is a valid ACS folder for INTROOT or ACSROOT Referenced by AcsFolders().
| File alma::acs::eclipse::utils::jar::AcsFolders::getJar | ( | String | name | ) | [inline] |
Get the file of the jar with the passed name by scanning the folders.
| name | The name of the jar like for example maci.jar |
References folders, and alma::acs::eclipse::utils::jar::JarFolder::getJar().
Referenced by alma::acs::eclipse::utils::pluginbuilder::PluginBuilder::addJars().
final JarFolder [] alma::acs::eclipse::utils::jar::AcsFolders::folders [private] |
The folder of jars
Referenced by AcsFolders(), and getJar().
1.6.2