Package com.sun.grid.util.expect
Class ExpectPasswordHandler
java.lang.Object
com.sun.grid.util.expect.ExpectPasswordHandler
- All Implemented Interfaces:
ExpectHandler
-
Constructor Summary
ConstructorsConstructorDescriptionExpectPasswordHandler
(String question, char[] password) 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
-
ExpectPasswordHandler
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:
-