|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gridsystems.config.tools.console.Field
com.gridsystems.config.tools.console.ValueField
com.gridsystems.config.tools.console.PasswordField
public class PasswordField
A password entry field.
| Field Summary |
|---|
| Fields inherited from class com.gridsystems.config.tools.console.ValueField |
|---|
linePattern, trimmed, value, valueFormater, valuePattern, verifier |
| Constructor Summary | |
|---|---|
PasswordField(java.util.ResourceBundle bundle,
java.lang.String linePattern)
Creates a field of password type. |
|
| Method Summary | |
|---|---|
java.lang.String[] |
getContents()
Gets the contents of this field. |
protected java.lang.String |
readLine()
Reads a line from the console, and prevents casual viewers from reading it by masking the echoed characters. |
| Methods inherited from class com.gridsystems.config.tools.console.ValueField |
|---|
execute, getKeyMapping, getStringValue, getValue, getVerifier, isTrimmed, setKeyMapping, setStringValue, setTrimmed, setValue, setVerifier |
| Methods inherited from class com.gridsystems.config.tools.console.Field |
|---|
getString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PasswordField(java.util.ResourceBundle bundle,
java.lang.String linePattern)
bundle - The resource bundlelinePattern - The line pattern for contents construction| Method Detail |
|---|
public java.lang.String[] getContents()
getContents in class ValueField
protected java.lang.String readLine()
throws java.io.IOException
readLine in class ValueFieldjava.io.IOException - If an error occurs while reading from the console
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||