org.plovr
Class LocalFileJsInput

java.lang.Object
  extended by org.plovr.AbstractJsInput
      extended by org.plovr.LocalFileJsInput
All Implemented Interfaces:
com.google.javascript.jscomp.SourceFile.Generator, JsInput
Direct Known Subclasses:
CoffeeFile, JsSourceFile, SoyFile

public abstract class LocalFileJsInput
extends AbstractJsInput

LocalFileJsInput represents a JavaScript input to the Closure Compiler that can be read from a local file.

Author:
bolinfest@gmail.com (Michael Bolin)

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.plovr.JsInput
JsInput.CodeWithEtag
 
Field Summary
 
Fields inherited from class org.plovr.AbstractJsInput
provides, requires
 
Method Summary
 boolean equals(java.lang.Object obj)
           
protected  java.io.File getSource()
           
 int hashCode()
           
protected  boolean hasInputChanged()
           
 
Methods inherited from class org.plovr.AbstractJsInput
calculateEtagFor, getCode, getCodeWithEtag, getName, getProvides, getRequires, getTemplateCode, isSoyFile, processProvidesAndRequires, supportsEtags, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getSource

protected final java.io.File getSource()

hasInputChanged

protected boolean hasInputChanged()
Overrides:
hasInputChanged in class AbstractJsInput

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object