|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExternalScriptCache
Interface for a cache of installed external scripts, which are keyed by their associated URL key (conceptually, the download URL).
| Method Summary | |
|---|---|
void |
addExternalScript(URLKey scriptURLKey,
java.lang.String scriptContent)
Adds an external script's content and its associated URL key to the cache. |
boolean |
containsExternalScript(URLKey scriptURLKey)
Indicates whether or not the cache contains an external script with the specified URL key. |
java.lang.String |
getExternalScript(URLKey scriptURLKey)
Gets the external script content associated with the specified URL key, or null if there is no such entry in the cache. |
| Method Detail |
|---|
boolean containsExternalScript(URLKey scriptURLKey)
scriptURLKey - The external script's URL key.
java.lang.String getExternalScript(URLKey scriptURLKey)
scriptURLKey - The external script's URL key.
void addExternalScript(URLKey scriptURLKey,
java.lang.String scriptContent)
scriptURLKey - The external script's URL key.scriptContent - The external script's content.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||