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