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