/pluggablejs/trunk/src/net/outlyer/plugins/utils/package-info.java |
1,7 → 1,7 |
/** |
* This package provides some common functionality that might often be |
* wanted to be exported as global objects. |
* {@see net.outlyer.plugins.PluginEnvironment#exportObject}. |
* {@see net.outlyer.plugins.sandboxing.PluginEnvironment#exportGlobalObject}. |
*/ |
|
// $Id$ |
/pluggablejs/trunk/src/net/outlyer/plugins/utils/Output.java |
43,9 → 43,6 |
this.ps = ps; |
} |
|
// Note rhino already provides print() and println() in the global |
// namespace |
|
public void println() { |
ps.println(); |
} |
64,10 → 61,6 |
} |
|
public void printf(final String s) { |
print(s); |
ps.printf("%s", s); |
} |
|
public void print(final String s) { |
ps.print(s); |
} |
} |