public class BooleanStringConverter extends StringConverter<java.lang.Boolean>
StringConverter
implementation for Boolean
(and boolean primitive) values.
Constructor and Description |
---|
BooleanStringConverter() |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
fromString(java.lang.String value)
Converts the string provided into an object defined by the specific converter.
|
java.lang.String |
toString(java.lang.Boolean value)
Converts the object provided into its string form.
|
public java.lang.Boolean fromString(java.lang.String value)
fromString
in class StringConverter<java.lang.Boolean>
public java.lang.String toString(java.lang.Boolean value)
toString
in class StringConverter<java.lang.Boolean>
Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved.