Menu

[r73]: / GraphScript / trunk / ls / script / ScriptUtils.java  Maximize  Restore  History

Download this file

27 lines (24 with data), 448 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package ls.script;
import ls.util.Utils;;
/**
* A class for utilities used by the script code
*
* @author Lior
*
*/
public class ScriptUtils implements Scriptable
{
public String getBindingName()
{
return "Utils";
}
/**
* Output the given message in the GraphScript workbench
* @param msg The message to output
*/
public void msg(String msg)
{
if (msg == null) msg = "null";
Utils.msg(msg);
}
}
MongoDB Logo MongoDB