org.marketcetera.util.auth
Class ConsoleSetterString
java.lang.Object
org.marketcetera.util.auth.Setter<T>
org.marketcetera.util.auth.ConsoleSetter<Holder<String>>
org.marketcetera.util.auth.ConsoleSetterString
public class ConsoleSetterString
- extends ConsoleSetter<Holder<String>>
A setter for a string holder that obtains the data via the
console. This setter echoes the characters typed by the user.
- Since:
- 0.5.0
- Version:
- $Id: ConsoleSetterString.java 16154 2012-07-14 16:34:05Z colin $
- Author:
- tlerios@marketcetera.com
|
Method Summary |
void |
setValue(Console console)
Sets the holder's data by obtaining it from the given console,
after displaying the receiver's prompt. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConsoleSetterString
public ConsoleSetterString(Holder<String> holder,
I18NBoundMessage usage,
I18NBoundMessage prompt)
- Constructor mirroring superclass constructor.
- See Also:
ConsoleSetter.ConsoleSetter(Holder,I18NBoundMessage,I18NBoundMessage)
setValue
public void setValue(Console console)
- Description copied from class:
ConsoleSetter
- Sets the holder's data by obtaining it from the given console,
after displaying the receiver's prompt. This method is called
by a
ConsoleContext.
- Specified by:
setValue in class ConsoleSetter<Holder<String>>
- Parameters:
console - The console.
Copyright © 2012. All Rights Reserved.