org.plovr
Class ResourceJsInput

java.lang.Object
  extended by org.plovr.AbstractJsInput
      extended by org.plovr.ResourceJsInput
All Implemented Interfaces:
SourceFile.Generator, JsInput

public class ResourceJsInput
extends AbstractJsInput

ResourceJsInput represents a JavaScript file loaded from a JAR, so it will never change, so its dependencies must only be read once.

Author:
bolinfest@gmail.com (Michael Bolin)

Field Summary
 
Fields inherited from class org.plovr.AbstractJsInput
provides, requires
 
Method Summary
 String getCode()
           
 
Methods inherited from class org.plovr.AbstractJsInput
getName, getProvides, getRequires, getTemplateCode, hasInputChanged, isSoyFile, processProvidesAndRequires, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getCode

public String getCode()
Specified by:
getCode in interface SourceFile.Generator
Specified by:
getCode in interface JsInput
Specified by:
getCode in class AbstractJsInput
Returns:
JavaScript code