Top Description Fields Constructors Methods
org.jboss.modules

pack-priv final Class JDKPaths

extends Object
Class Inheritance
Imports
java.io.File, .IOException, java.util.Collections, .Enumeration, .Set, java.util.zip.ZipEntry, .ZipFile

A utility class which maintains the set of JDK paths. Makes certain assumptions about the disposition of the class loader used to load JBoss Modules; thus this class should only be used when booted up via the "-jar" or "-cp" switches.
Authors
David M. Lloyd, Richard Opalka

Field Summary

Modifier and TypeField and Description
pack-priv static final Set<String>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static void
processClassPathItem(final String classPath, final Set<String> jarSet, final Set<String> pathSet)

pack-priv static void
processDirectory(final Set<String> pathSet, final File file)

private static void
processDirectory1(final Set<String> pathSet, final File file, final String pathBase)

pack-priv static void
processJar(final Set<String> pathSet, final File file)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

JDKback to summary
pack-priv static final Set<String> JDK

Constructor Detail

JDKPathsback to summary
private JDKPaths()

Method Detail

processClassPathItemback to summary
pack-priv static void processClassPathItem(final String classPath, final Set<String> jarSet, final Set<String> pathSet)
processDirectoryback to summary
pack-priv static void processDirectory(final Set<String> pathSet, final File file)
processDirectory1back to summary
private static void processDirectory1(final Set<String> pathSet, final File file, final String pathBase)
processJarback to summary
pack-priv static void processJar(final Set<String> pathSet, final File file) throws IOException