public class ClasspathScriptLocation extends java.lang.Object implements ScriptLocation
| Constructor and Description |
|---|
ClasspathScriptLocation(java.lang.String location)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
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() |
public ClasspathScriptLocation(java.lang.String location)
location - the classpath locationpublic java.io.InputStream getInputStream()
ScriptLocationgetInputStream in interface ScriptLocationScriptLocation.getInputStream()public java.io.Reader getReader()
ScriptLocationgetReader in interface ScriptLocationScriptLocation.getReader()public java.lang.String getPath()
getPath in interface ScriptLocationScriptLocation.getPath()public boolean isCachable()
ScriptLocationisCachable in interface ScriptLocationpublic boolean isSecure()
ScriptLocationisSecure 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.ObjectCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.