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