|
||||||||||
| 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 | |
|---|---|
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. |
String |
suggestedClassName()
Determine a class name for the underlying script. |
| Method Detail |
|---|
String getScriptAsString()
throws IOException
IOException - if script retrieval failedboolean isModified()
getScriptAsString() was called.
Returns true if the script has not been read yet.
String suggestedClassName()
null if none available
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||