|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.jscript.ClasspathScriptLocation
public class ClasspathScriptLocation
Classpath script location object.
| Constructor Summary | |
|---|---|
ClasspathScriptLocation(java.lang.String location)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.io.InputStream |
getInputStream()
Returns an input stream to the contents of the script |
java.lang.String |
getPath()
|
java.io.Reader |
getReader()
Returns a reader to the contents of the script |
int |
hashCode()
|
boolean |
isCachable()
Returns true if the script content is considered cachedable - i.e. |
boolean |
isSecure()
Returns true if the script location is considered secure - i.e. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ClasspathScriptLocation(java.lang.String location)
location - the classpath location| Method Detail |
|---|
public java.io.InputStream getInputStream()
ScriptLocation
getInputStream in interface ScriptLocationScriptLocation.getInputStream()public java.io.Reader getReader()
ScriptLocation
getReader in interface ScriptLocationScriptLocation.getReader()public java.lang.String getPath()
getPath in interface ScriptLocationScriptLocation.getPath()public boolean isCachable()
ScriptLocation
isCachable in interface ScriptLocationpublic boolean isSecure()
ScriptLocation
isSecure in interface ScriptLocationpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||