The list of methods to do Class Path Create are organized into topic(s).
List
getClassPathArchiveContents(final URL resource)
If the resource represents a classpath archive (i.e.
final List<String> contents = new ArrayList<String>();
if (isArchive(resource)) {
final ZipFile archive = getArchive(resource);
if (archive != null) {
for (final Enumeration<? extends ZipEntry> entries = archive.entries(); entries
.hasMoreElements();) {
final ZipEntry entry = entries.nextElement();
contents.add(entry.getName());
...
URL[]
getClasspathURLs(String classpath) Utility method that converts the components of a
String representing a classpath into file
URL(s).
StringTokenizer st = new StringTokenizer(classpath, File.pathSeparator);
URL[] urls = new URL[st.countTokens()];
for (int i = 0; st.hasMoreTokens(); i++) {
urls[i] = new File(st.nextToken()).getCanonicalFile().toURI().toURL();
return urls;