public class JavascriptYuiCompressorErrorReporter extends Object implements org.mozilla.javascript.ErrorReporter
ErrorReporter which logs warning and errors when some Javascript code
is compressed using the YUI Compressor library.
| Constructor and Description |
|---|
JavascriptYuiCompressorErrorReporter(String nutName)
Builds a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
error(String message,
String sourceName,
int line,
String lineSource,
int lineOffset) |
org.mozilla.javascript.EvaluatorException |
runtimeError(String message,
String sourceName,
int line,
String lineSource,
int lineOffset) |
void |
warning(String message,
String sourceName,
int line,
String lineSource,
int lineOffset) |
public JavascriptYuiCompressorErrorReporter(String nutName)
Builds a new instance.
nutName - the nut namepublic void warning(String message, String sourceName, int line, String lineSource, int lineOffset)
warning in interface org.mozilla.javascript.ErrorReporterpublic void error(String message, String sourceName, int line, String lineSource, int lineOffset)
error in interface org.mozilla.javascript.ErrorReporterCopyright © 2012-2015. All Rights Reserved.