|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.util.ScriptUtilities
public class ScriptUtilities
| Field Summary | |
|---|---|
protected static java.lang.String |
COPYRIGHT
|
| Constructor Summary | |
|---|---|
ScriptUtilities()
|
|
| Method Summary | |
|---|---|
static void |
includeScript(ScriptEngine se,
java.lang.String files)
|
static java.lang.String |
loadFile(java.lang.String path)
Reads the contents of a text file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String COPYRIGHT
| Constructor Detail |
|---|
public ScriptUtilities()
| Method Detail |
|---|
public static void includeScript(ScriptEngine se,
java.lang.String files)
throws java.lang.Exception
java.lang.Exception
public static java.lang.String loadFile(java.lang.String path)
throws java.lang.Exception
path - the URL of the file
java.lang.Exception - problem while reading the file
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||