Package com.sun.grid.util.expect
Class ExpectStringHandler
java.lang.Object
com.sun.grid.util.expect.ExpectStringHandler
- All Implemented Interfaces:
ExpectHandler
-
Constructor Summary
ConstructorsConstructorDescriptionExpectStringHandler
(String question, char[] message) Creates a new instance of ExpectStringHandler -
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(Expect expect, ExpectBuffer buffer) Handle new output of the process and be send a reply.
-
Constructor Details
-
ExpectStringHandler
Creates a new instance of ExpectStringHandler
-
-
Method Details
-
handle
Description copied from interface:ExpectHandler
Handle new output of the process and be send a reply.- Specified by:
handle
in interfaceExpectHandler
- Parameters:
expect
- the expect object which calls this handlerbuffer
- the buffer with the output of the process- Throws:
IOException
- See Also:
-