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 applicationResource)
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).
|
java.util.stream.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).
|
static final Layers IMPLICIT
java.util.Iterator<Layer> iterator()
iterator
in interface java.lang.Iterable<Layer>
java.util.stream.Stream<Layer> stream()
Layer getLayer(java.lang.String applicationResource)
applicationResource
- the name of an application resource (for example a
.class
file).null
)