public interface Layers extends java.lang.Iterable<Layer>
Repackager.Layer| Modifier and Type | Field and Description |
|---|---|
static Layers |
IMPLICIT
The default layer resolver.
|
| Modifier and Type | Method and Description |
|---|---|
Layer |
getLayer(Library library)
Return the layer that contains the given library.
|
Layer |
getLayer(java.lang.String resourceName)
Return the layer that contains the given resource name.
|
java.util.Iterator<Layer> |
iterator()
Return the jar layers in the order that they should be added (starting with the
least frequently changed layer).
|
static final Layers IMPLICIT
java.util.Iterator<Layer> iterator()
iterator in interface java.lang.Iterable<Layer>Layer getLayer(java.lang.String resourceName)
resourceName - the name of the resource (for example a .class file).null)