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()
ScriptLocation
getInputStream
in interface ScriptLocation
ScriptLocation.getInputStream()
public Reader getReader()
ScriptLocation
getReader
in interface ScriptLocation
ScriptLocation.getReader()
public String getPath()
getPath
in interface ScriptLocation
ScriptLocation.getPath()
public boolean isCachable()
ScriptLocation
isCachable
in interface ScriptLocation
public boolean isSecure()
ScriptLocation
isSecure
in interface ScriptLocation
Copyright © 2005–2017 Alfresco Software. All rights reserved.