public final class ClosureBundler
extends java.lang.Object
Constructor and Description |
---|
ClosureBundler() |
ClosureBundler(Transpiler transpiler) |
Modifier and Type | Method and Description |
---|---|
static void |
appendInput(java.lang.Appendable out,
DependencyInfo info,
java.lang.String contents)
Append the contents of the string to the supplied appendable.
|
void |
appendRuntimeTo(java.lang.Appendable out) |
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,
java.io.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.
|
java.lang.String |
getSourceMap(java.lang.String path)
Subclasses that need to provide a source map for any transformed input can return it with this
method.
|
ClosureBundler |
useEval(boolean useEval) |
ClosureBundler |
withPath(java.lang.String newPath) |
ClosureBundler |
withSourceUrl(java.lang.String newSourceUrl) |
public ClosureBundler()
public ClosureBundler(Transpiler transpiler)
public final ClosureBundler useEval(boolean useEval)
public final ClosureBundler withSourceUrl(java.lang.String newSourceUrl)
public final ClosureBundler withPath(java.lang.String newPath)
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, java.io.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
public void appendRuntimeTo(java.lang.Appendable out) throws java.io.IOException
java.io.IOException
public java.lang.String getSourceMap(java.lang.String path)
Copyright © 2009-2017 Google. All Rights Reserved.