org.jboss.resteasy.spi
Interface StringConverter<T>


public interface StringConverter<T>

Implement this interface and annotate your class with @Provider to provide marshalling and unmarshalling of string-based, @HeaderParam, @MatrixParam, @QueryParam, and/or @PathParam injected values.

Use this when toString(), valueOf, and/or constructor(String) can not satisfy your marshalling requirements.

Version:
$Revision: 1 $
Author:
Bill Burke

Method Summary
 T fromString(java.lang.String str)
           
 java.lang.String toString(T value)
           
 

Method Detail

fromString

T fromString(java.lang.String str)

toString

java.lang.String toString(T value)


Copyright © 2009. All Rights Reserved.