public class ClasspathScriptLocation extends Object implements ScriptLocation
| Constructor and Description |
|---|
ClasspathScriptLocation(String location)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
InputStream |
getInputStream()
Returns an input stream to the contents of the script
|
String |
getPath() |
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.
|
String |
toString() |
public ClasspathScriptLocation(String location)
location - the classpath locationpublic InputStream getInputStream()
ScriptLocationgetInputStream in interface ScriptLocationScriptLocation.getInputStream()public Reader getReader()
ScriptLocationgetReader in interface ScriptLocationScriptLocation.getReader()public String getPath()
getPath in interface ScriptLocationScriptLocation.getPath()public boolean isCachable()
ScriptLocationisCachable in interface ScriptLocationpublic boolean isSecure()
ScriptLocationisSecure in interface ScriptLocationCopyright © 2005–2018 Alfresco Software. All rights reserved.