ro.isdc.wro.extensions.processor.support.linter
Class JsLint

java.lang.Object
  extended by ro.isdc.wro.extensions.processor.support.linter.AbstractLinter
      extended by ro.isdc.wro.extensions.processor.support.linter.JsLint

public class JsLint
extends AbstractLinter

Apply JsLint script checking utility.

Since:
1.4.2
Author:
Alex Objelean

Constructor Summary
JsLint()
           
 
Method Summary
protected  String getLinterName()
          
protected  InputStream getScriptAsStream()
           
 
Methods inherited from class ro.isdc.wro.extensions.processor.support.linter.AbstractLinter
createDefaultOptions, getWebjarLocator, setOptions, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsLint

public JsLint()
Method Detail

getScriptAsStream

protected InputStream getScriptAsStream()
                                 throws IOException
Specified by:
getScriptAsStream in class AbstractLinter
Returns:
the stream of the jslint script. Override this method to provide a different script version.
Throws:
IOException - if the stream is invalid or unavailable.

getLinterName

protected String getLinterName()

Specified by:
getLinterName in class AbstractLinter
Returns:
the name of the function used to perform the lint operation.


Copyright © 2008-2013. All Rights Reserved.