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