public class ClosureBundler
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
ClosureBundler.Mode |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
sourceUrl |
private boolean |
useEval |
Constructor and Description |
---|
ClosureBundler() |
Modifier and Type | Method and Description |
---|---|
private void |
append(java.lang.Appendable out,
ClosureBundler.Mode mode,
com.google.common.io.CharSource cs) |
private void |
append(java.lang.Appendable out,
ClosureBundler.Mode mode,
java.lang.String s) |
private void |
appendGoogModule(java.lang.Appendable out,
com.google.common.io.CharSource contents) |
static void |
appendInput(java.lang.Appendable out,
DependencyInfo info,
java.lang.String contents)
Append the contents of the string to the supplied appendable.
|
private void |
appendSourceUrl(java.lang.Appendable out,
ClosureBundler.Mode mode) |
void |
appendTo(java.lang.Appendable out,
DependencyInfo info,
com.google.common.io.CharSource content)
Append the contents of the CharSource to the supplied appendable.
|
void |
appendTo(java.lang.Appendable out,
DependencyInfo info,
File content,
java.nio.charset.Charset contentCharset)
Append the contents of the file to the supplied appendable.
|
void |
appendTo(java.lang.Appendable out,
DependencyInfo info,
java.lang.String content)
Append the contents of the string to the supplied appendable.
|
private void |
appendTraditional(java.lang.Appendable out,
com.google.common.io.CharSource contents) |
protected java.lang.String |
transformInput(java.lang.String input)
Template method.
|
ClosureBundler |
useEval(boolean useEval) |
ClosureBundler |
withSourceUrl(java.lang.String sourceUrl) |
public final ClosureBundler useEval(boolean useEval)
public final ClosureBundler withSourceUrl(java.lang.String sourceUrl)
public static void appendInput(java.lang.Appendable out, DependencyInfo info, java.lang.String contents) throws java.io.IOException
java.io.IOException
public void appendTo(java.lang.Appendable out, DependencyInfo info, java.lang.String content) throws java.io.IOException
java.io.IOException
public void appendTo(java.lang.Appendable out, DependencyInfo info, File content, java.nio.charset.Charset contentCharset) throws java.io.IOException
java.io.IOException
public void appendTo(java.lang.Appendable out, DependencyInfo info, com.google.common.io.CharSource content) throws java.io.IOException
java.io.IOException
private void appendTraditional(java.lang.Appendable out, com.google.common.io.CharSource contents) throws java.io.IOException
java.io.IOException
private void appendGoogModule(java.lang.Appendable out, com.google.common.io.CharSource contents) throws java.io.IOException
java.io.IOException
private void append(java.lang.Appendable out, ClosureBundler.Mode mode, java.lang.String s) throws java.io.IOException
java.io.IOException
private void append(java.lang.Appendable out, ClosureBundler.Mode mode, com.google.common.io.CharSource cs) throws java.io.IOException
java.io.IOException
private void appendSourceUrl(java.lang.Appendable out, ClosureBundler.Mode mode) throws java.io.IOException
java.io.IOException
protected java.lang.String transformInput(java.lang.String input)