Class Generator.URLProcessor
java.lang.Object
de.uni_hildesheim.sse.easy.loader.Generator.URLProcessor
- Enclosing class:
Generator
Processes URLs for packing and bundling.
- Author:
- Holger Eichelberger
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate JarOutputStreamprivate JarOutputStreamprivate Generator.UnbundleInfo -
Constructor Summary
ConstructorsConstructorDescriptionURLProcessor(Generator.UnbundleInfo unbundle, JarOutputStream easyJar, JarOutputStream eclipseJar) Creates an URL processor. -
Method Summary
Modifier and TypeMethodDescription(package private) booleanprocessURL(URL url, boolean defer) Processes the givenurl.
-
Field Details
-
classpathEntries
-
done
-
unbundle
-
easyJar
-
eclipseJar
-
-
Constructor Details
-
URLProcessor
URLProcessor(Generator.UnbundleInfo unbundle, JarOutputStream easyJar, JarOutputStream eclipseJar) Creates an URL processor.- Parameters:
unbundle- the unbundle information instanceeasyJar- the EASy jar streameclipseJar- the Eclipse jar stream
-
-
Method Details
-
processURL
Processes the givenurl.- Parameters:
url- the URL to be processeddefer- in case of problematic libs, defer them (whether more recent classes have been packed in) or process them- Returns:
- if the given URL shall be deferred
- Throws:
IOException- in case of I/O problems
-