|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScriptSource
Interface that defines the source of a script. Tracks whether the underlying script has been modified.
Method Summary | |
---|---|
java.lang.String |
getScriptAsString()
Retrieve the current script source text as String. |
boolean |
isModified()
Indicate whether the underlying script data has been modified since the last time getScriptAsString() was called. |
java.lang.String |
suggestedClassName()
Determine a class name for the underlying script. |
Method Detail |
---|
java.lang.String getScriptAsString() throws java.io.IOException
java.io.IOException
- if script retrieval failedboolean isModified()
getScriptAsString()
was called.
Returns true
if the script has not been read yet.
java.lang.String suggestedClassName()
null
if none available
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |