public interface Layers extends 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(String applicationResource)
Return the layer that contains the given resource name.
|
Iterator<Layer> |
iterator()
Return the jar layers in the order that they should be added (starting with the
least frequently changed layer).
|
Stream<Layer> |
stream()
Return a stream of the jar layers in the order that they should be added (starting
with the least frequently changed layer).
|
forEach, spliteratorstatic final Layers IMPLICIT
Iterator<Layer> iterator()
Stream<Layer> stream()
Layer getLayer(String applicationResource)
applicationResource - the name of an application resource (for example a
.class file).null)