|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jidesoft.converter.DefaultObjectConverter
com.jidesoft.converter.PasswordConverter
public class PasswordConverter
Converter which converts String to String and converts it back.
| Field Summary | |
|---|---|
static ConverterContext |
CONTEXT
ConverterContext if the String is a file name. |
| Constructor Summary | |
|---|---|
PasswordConverter()
|
|
PasswordConverter(char echoChar)
Creates a PasswordConverter. |
|
| Method Summary | |
|---|---|
Object |
fromString(String string,
ConverterContext context)
Converts from String to an object. |
char |
getEchoChar()
|
void |
setEchoChar(char echoChar)
|
boolean |
supportFromString(String string,
ConverterContext context)
If it supports fromString. |
String |
toString(Object object,
ConverterContext context)
Converts from object to String based on current locale. |
| Methods inherited from class com.jidesoft.converter.DefaultObjectConverter |
|---|
supportToString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static ConverterContext CONTEXT
| Constructor Detail |
|---|
public PasswordConverter()
public PasswordConverter(char echoChar)
echoChar - The echo char. It is used to replace the real password so that other people can't see what user is typing.| Method Detail |
|---|
public String toString(Object object,
ConverterContext context)
ObjectConverter
toString in interface ObjectConvertertoString in class DefaultObjectConverterobject - object to be convertedcontext - converter context to be used
public char getEchoChar()
public void setEchoChar(char echoChar)
public boolean supportFromString(String string,
ConverterContext context)
ObjectConverter
supportFromString in interface ObjectConvertersupportFromString in class DefaultObjectConverterstring - the stringcontext - context to be converted
public Object fromString(String string,
ConverterContext context)
ObjectConverter
fromString in interface ObjectConverterfromString in class DefaultObjectConverterstring - the stringcontext - context to be converted
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||