public class IntegerStringConverter extends StringConverter<java.lang.Integer>
StringConverter implementation for Integer
(and int primitive) values.
| Constructor and Description |
|---|
IntegerStringConverter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
fromString(java.lang.String value)
Converts the string provided into an object defined by the specific converter.
|
java.lang.String |
toString(java.lang.Integer value)
Converts the object provided into its string form.
|
public java.lang.Integer fromString(java.lang.String value)
fromString in class StringConverter<java.lang.Integer>public java.lang.String toString(java.lang.Integer value)
toString in class StringConverter<java.lang.Integer>Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.