|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object scale.visual.External
public class External
Wrapper for external process creation and communication.
$Id: External.java,v 1.19 2007-03-22 13:43:17 burrill Exp $
Copyright 2005 by the Scale Compiler Group,
Department of Computer Science
University of Massachusetts,
Amherst MA. 01003, USA
All Rights Reserved.
This wrapper simplifies the creation of external processes and communicating with them through pipes.
Constructor Summary | |
---|---|
External(java.lang.String s)
This method starts an exteral program in a separate process and establishes communication with it. |
Method Summary | |
---|---|
java.lang.String |
read()
Primitive read routine. |
void |
send(java.lang.String s)
Primitive send routine. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public External(java.lang.String s) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void send(java.lang.String s) throws java.io.IOException
s
- String to be sent.
java.io.IOException
public java.lang.String read()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |