org.joda.convert
Interface ToStringConverter<T>

Type Parameters:
T - the type of the converter
All Known Subinterfaces:
StringConverter<T>

public interface ToStringConverter<T>

Interface defining conversion to a String.

ToStringConverter is an interface and must be implemented with care. Implementations must be immutable and thread-safe.


Method Summary
 String convertToString(T object)
          Converts the specified object to a String.
 

Method Detail

convertToString

String convertToString(T object)
Converts the specified object to a String.

Parameters:
object - the object to convert, not null
Returns:
the converted string, may be null but generally not


Copyright © 2010-2013 Joda.org. All Rights Reserved.