public class CommandLinePrint extends Object
| Constructor and Description |
|---|
CommandLinePrint() |
CommandLinePrint(PrintStream standardOut,
PrintStream standardErr) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ensureDirectory(String outputDirectory) |
void |
printToFiles(LessCompiler.CompilationResult content,
String lessFileName,
File rootLessFile,
String cssFilename,
String mapFilename) |
void |
printToSysout(LessCompiler.CompilationResult content,
String inputfileName,
File rootInputFile) |
void |
printWarnings(String inputfileName,
File rootInputFile,
LessCompiler.CompilationResult content) |
protected void |
reportError(String message) |
protected void |
reportError(Throwable e) |
void |
reportErrors(Less4jException ex,
String inputfileName,
File rootInputFile) |
void |
reportErrorsAndWarnings(Less4jException ex,
String inputfileName,
File rootInputFile) |
public CommandLinePrint()
public CommandLinePrint(PrintStream standardOut, PrintStream standardErr)
public void printToSysout(LessCompiler.CompilationResult content, String inputfileName, File rootInputFile)
public void printToFiles(LessCompiler.CompilationResult content, String lessFileName, File rootLessFile, String cssFilename, String mapFilename)
public void printWarnings(String inputfileName, File rootInputFile, LessCompiler.CompilationResult content)
protected void reportError(String message)
public void reportErrorsAndWarnings(Less4jException ex, String inputfileName, File rootInputFile)
public void reportErrors(Less4jException ex, String inputfileName, File rootInputFile)
protected void reportError(Throwable e)
public boolean ensureDirectory(String outputDirectory)
Copyright © 2012-2015. All Rights Reserved.