public class CssLint extends Object
://github.com/stubbornella/csslint. The underlying csslint version is 0.9.10.| Constructor and Description |
|---|
CssLint() |
| Modifier and Type | Method and Description |
|---|---|
protected InputStream |
getScriptAsStream() |
CssLint |
setOptions(String options) |
void |
validate(String data)
Validates a css resource using cssLint and throws
CssLintException if the resource is invalid. |
protected InputStream getScriptAsStream()
public void validate(String data) throws CssLintException
CssLintException if the resource is invalid. If no exception is thrown,
the resource is valid.data - css content to process.CssLintException - when parsed css has some kind of problems.Copyright © 2008-2016. All Rights Reserved.