public class DefaultStringConverter extends StringConverter<java.lang.String>
StringConverter
implementation for String
values.
Constructor and Description |
---|
DefaultStringConverter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
fromString(java.lang.String value)
Converts the string provided into an object defined by the specific converter.
|
java.lang.String |
toString(java.lang.String value)
Converts the object provided into its string form.
|
public java.lang.String toString(java.lang.String value)
toString
in class StringConverter<java.lang.String>
public java.lang.String fromString(java.lang.String value)
fromString
in class StringConverter<java.lang.String>
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2023, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.