net.sf.andromedaioc.bean.converter.fromnumber.FromNumberToStringConverter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of andromeda-ioc Show documentation
Show all versions of andromeda-ioc Show documentation
Inversion of Control Framework for Android
The newest version!
package net.sf.andromedaioc.bean.converter.fromnumber;
import net.sf.andromedaioc.bean.converter.Converter;
/**
* From Number to String converter
*
* @author Alexey Mitrov
*/
public class FromNumberToStringConverter implements Converter {
public String convert(Number input) {
return input == null ? null : input.toString();
}
}