|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 ObjectConverter
toString
in class DefaultObjectConverter
object
- 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 ObjectConverter
supportFromString
in class DefaultObjectConverter
string
- the stringcontext
- context to be converted
public Object fromString(String string, ConverterContext context)
ObjectConverter
fromString
in interface ObjectConverter
fromString
in class DefaultObjectConverter
string
- 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 |