com.sun.jersey.spi
Interface StringReader<T>

Type Parameters:
T - the Java type to convert to.

public interface StringReader<T>

Read a string value and convert to a Java type.

A StringReaderProvider is responisble for providing an instance of this interface.

Author:
Paul.Sandoz@Sun.Com

Method Summary
 T fromString(java.lang.String value)
          Read a string value and convert to a Java type.
 

Method Detail

fromString

T fromString(java.lang.String value)
Read a string value and convert to a Java type.

Parameters:
value - The string value.
Returns:
the instance of the Java type.


Copyright © 2011 Sun Microsystems, Inc. All Rights Reserved.