Package | Description |
---|---|
com.google.common.io | |
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.jscomp.ant | |
com.google.javascript.jscomp.deps |
Analyzes information about dependencies between files.
|
Modifier and Type | Method and Description |
---|---|
static void |
Files.append(java.lang.CharSequence from,
File to,
java.nio.charset.Charset charset) |
static java.lang.String |
Files.toString(File file,
java.nio.charset.Charset charset) |
static void |
Files.write(java.lang.CharSequence from,
File to,
java.nio.charset.Charset charset) |
Modifier and Type | Field and Description |
---|---|
private File |
SourceFile.OnDisk.file |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractCommandLineRunner.addWhitelistWarningsGuard(CompilerOptions options,
File whitelistFile) |
protected void |
CommandLineRunner.addWhitelistWarningsGuard(CompilerOptions options,
File whitelistFile) |
SourceFile |
SourceFile.Builder.buildFromFile(File file) |
static SourceFile |
SourceFile.fromFile(File file) |
static WhitelistWarningsGuard |
WhitelistWarningsGuard.fromFile(File file)
Creates a warnings guard from a file.
|
static SourceFile |
SourceFile.fromFile(File file,
java.nio.charset.Charset c) |
static java.util.Set<java.lang.String> |
WhitelistWarningsGuard.loadWhitelistedJsWarnings(File file)
Loads legacy warnings list from the file.
|
void |
WhitelistWarningsGuard.WhitelistBuilder.writeWhitelist(File out)
Writes the warnings collected in a format that the WhitelistWarningsGuard
can read back later.
|
Constructor and Description |
---|
OnDisk(File file,
java.lang.String originalPath,
java.nio.charset.Charset c) |
Modifier and Type | Field and Description |
---|---|
private File |
CompileTask.outputFile |
private File |
CompileTask.outputWrapperFile |
private File |
CompileTask.sourceMapOutputFile |
Modifier and Type | Method and Description |
---|---|
private static long |
CompileTask.getLastModifiedTime(File file)
Returns the last modified timestamp of the given File.
|
void |
CompileTask.setOutput(File value)
Set output file.
|
void |
CompileTask.setOutputWrapperFile(File value)
Set output wrapper file.
|
void |
CompileTask.setSourceMapOutputFile(File sourceMapOutputFile) |
Modifier and Type | Method and Description |
---|---|
void |
ClosureBundler.appendTo(java.lang.Appendable out,
DependencyInfo info,
File content,
java.nio.charset.Charset contentCharset)
Append the contents of the file to the supplied appendable.
|