ch.tatool.core.data
Interface StringConverter.Converter<T>

Enclosing class:
StringConverter

public static interface StringConverter.Converter<T>


Method Summary
 T convert(String s)
          Convert the passed in String to an object of type T.
 

Method Detail

convert

T convert(String s)
Convert the passed in String to an object of type T.

Parameters:
s - the String to convert, guaranteed to be non-null
Returns:
the converted object
Throws:
RuntimeException - whatever Exception might occur (e.g. NumberFormatException)


Copyright © 2012. All Rights Reserved.