public class RefreshableResourceScriptSource
extends java.lang.Object
implements org.springframework.scripting.ScriptSource
Constructor and Description |
---|
RefreshableResourceScriptSource(org.springframework.core.io.Resource resource,
long refreshDelay) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getScriptAsString() |
boolean |
isModified() |
java.lang.String |
suggestedClassName() |
java.lang.String |
toString() |
public RefreshableResourceScriptSource(org.springframework.core.io.Resource resource, long refreshDelay)
public java.lang.String getScriptAsString() throws java.io.IOException
getScriptAsString
in interface org.springframework.scripting.ScriptSource
java.io.IOException
public java.lang.String suggestedClassName()
suggestedClassName
in interface org.springframework.scripting.ScriptSource
public boolean isModified()
isModified
in interface org.springframework.scripting.ScriptSource
public java.lang.String toString()
toString
in class java.lang.Object