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 resourceName)
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).
|
forEach, spliterator
static final Layers IMPLICIT
Iterator<Layer> iterator()
Layer getLayer(String resourceName)
resourceName
- the name of the resource (for example a .class
file).null
)