public class OutputInterpolator extends Object implements UnaryOperator<String>
Emulates the behavior of the closure compile command line flag `output_wrapper`:
Interpolate output into this string at the place denoted by the marker token %output%. Use marker token %output|jsstring% to do js string escaping on the output.
| Modifier and Type | Method and Description |
|---|---|
String |
apply(String source) |
static OutputInterpolator |
forIdentity() |
static OutputInterpolator |
forPattern(String pattern) |
String |
getPattern() |
String |
getWrapperPrefix() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitidentitypublic String getPattern()
public static OutputInterpolator forIdentity()
public static OutputInterpolator forPattern(String pattern)
public String getWrapperPrefix()
Copyright © 2009–2018 Andre Wachsmuth. All rights reserved.