public class ScriptResources
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAbsolutePath(java.lang.String script)
Returns the absolute path to a script.
|
boolean |
isAvailable(java.lang.String resource)
Check that a script exists with the specified name.
|
public java.lang.String getAbsolutePath(java.lang.String script) throws java.io.IOException
script
- name of the script.java.io.IOException
- if there was a problem performing IO.public boolean isAvailable(java.lang.String resource)
resource
- name of the script.