No changes between revisions
/pluggablejs/branches/1.0build28/src/net/outlyer/plugins/utils/Hooks.java |
24,13 → 24,14 |
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
// $Id$ |
|
import net.outlyer.plugins.SandboxAccessorImpl; |
|
/** |
* |
* Provides hooks to points in time during execution. |
*/ |
public class Hooks extends SandboxAccessorImpl { |
|
// Due to Rhino's magic passing a JS function() is enough |
public void atexit(Runnable callback) { |
getSandbox().addEndHook(callback); |
Property changes: |
Added: svn:keywords |
+Rev Id Date |
\ No newline at end of property |
/pluggablejs/branches/1.0build28/src/net/outlyer/plugins/utils/Input.java |
24,6 → 24,8 |
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
// $Id$ |
|
import java.io.BufferedReader; |
import java.io.IOException; |
import java.io.InputStream; |
30,7 → 32,7 |
import java.io.InputStreamReader; |
|
/** |
* |
* Provides a simplified wrapper for input. |
*/ |
public class Input { |
|
Property changes: |
Added: svn:keywords |
+Rev Id Date |
\ No newline at end of property |
/pluggablejs/branches/1.0build28/src/net/outlyer/plugins/utils/Output.java |
24,10 → 24,12 |
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
// $Id$ |
|
import java.io.PrintStream; |
|
/** |
* Provides a simplified wrapper for output |
* Provides a simplified wrapper for output. |
*/ |
public class Output { |
|
41,6 → 43,10 |
this.ps = ps; |
} |
|
public void println() { |
ps.println(); |
} |
|
public void println(final String s) { |
ps.println(s); |
} |
Property changes: |
Added: svn:keywords |
+Rev Id Date |
\ No newline at end of property |