public class WildcardExpanderModelTransformer extends Object implements Transformer<WroModel>
<js>/path/to/**.js</js>
can be transformed into:
<js>/path/to/a1.js</js>
<js>/path/to/a2.js</js>
<js>/path/to/a3.js</js>
| Modifier and Type | Class and Description |
|---|---|
static class |
WildcardExpanderModelTransformer.NoMoreAttemptsIOException
An instance of IOException having a special purpose: to skip subsequent attempts to localize a stream.
|
| Constructor and Description |
|---|
WildcardExpanderModelTransformer() |
| Modifier and Type | Method and Description |
|---|---|
Function<Collection<File>,Void> |
createExpanderHandler(Group group,
Resource resource,
String baseNameFolder)
create the handler which expand the resources containing wildcard.
|
WroModel |
transform(WroModel input)
Apply a transformation on the input object.
|
public WroModel transform(WroModel input)
transform in interface Transformer<WroModel>input - the object to transform.Copyright © 2008-2013. All Rights Reserved.