|
For the latest news and information visit The GNU Crypto project |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgnu.crypto.auth.callback.AbstractCallbackHandler
gnu.crypto.auth.callback.ConsoleCallbackHandler
An implementation of CallbackHandler
that reads and writes
information to and from System.in
and System.out
.
Field Summary |
---|
Fields inherited from class gnu.crypto.auth.callback.AbstractCallbackHandler |
---|
messages |
Constructor Summary | |
---|---|
ConsoleCallbackHandler()
|
|
ConsoleCallbackHandler(PrintStream out)
|
Method Summary | |
---|---|
protected void |
handleChoice(ChoiceCallback c)
Handles a ChoiceCallback . |
protected void |
handleConfirmation(ConfirmationCallback c)
Handles a ConfirmationCallback . |
protected void |
handleLanguage(LanguageCallback c)
Handles a LanguageCallback . |
protected void |
handleName(NameCallback c)
Handles a NameCallback . |
protected void |
handlePassword(PasswordCallback c)
Handles a PasswordCallback . |
protected void |
handleTextInput(TextInputCallback c)
Handles a TextInputCallback . |
protected void |
handleTextOutput(TextOutputCallback c)
Handles a TextOutputCallback . |
Methods inherited from class gnu.crypto.auth.callback.AbstractCallbackHandler |
---|
getInstance, getInstance, getInstance, handle, handleOther |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConsoleCallbackHandler()
public ConsoleCallbackHandler(PrintStream out)
Method Detail |
protected void handleChoice(ChoiceCallback c) throws IOException
AbstractCallbackHandler
ChoiceCallback
.
handleChoice
in class AbstractCallbackHandler
c
- The choice callback.
IOException
- If an I/O error occurs.protected void handleConfirmation(ConfirmationCallback c) throws IOException
AbstractCallbackHandler
ConfirmationCallback
.
handleConfirmation
in class AbstractCallbackHandler
c
- The confirmation callback.
IOException
- If an I/O error occurs.protected void handleLanguage(LanguageCallback c) throws IOException
AbstractCallbackHandler
LanguageCallback
.
handleLanguage
in class AbstractCallbackHandler
c
- The language callback.
IOException
- If an I/O error occurs.protected void handleName(NameCallback c) throws IOException
AbstractCallbackHandler
NameCallback
.
handleName
in class AbstractCallbackHandler
c
- The name callback.
IOException
- If an I/O error occurs.protected void handlePassword(PasswordCallback c) throws IOException
AbstractCallbackHandler
PasswordCallback
.
handlePassword
in class AbstractCallbackHandler
c
- The password callback.
IOException
- If an I/O error occurs.protected void handleTextInput(TextInputCallback c) throws IOException
AbstractCallbackHandler
TextInputCallback
.
handleTextInput
in class AbstractCallbackHandler
c
- The text input callback.
IOException
- If an I/O error occurs.protected void handleTextOutput(TextOutputCallback c)
AbstractCallbackHandler
TextOutputCallback
.
handleTextOutput
in class AbstractCallbackHandler
c
- The text output callback.
|
For the latest news and information visit The GNU Crypto project |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |