com.expleague.commons.func.converters.Boolean2StringConverter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons Show documentation
Show all versions of commons Show documentation
Utilities including math, charsequence based text processing, sequences etc.
package com.expleague.commons.func.converters;
import com.expleague.commons.func.Converter;
/**
* User: terry
* Date: 23.06.2009
*/
public class Boolean2StringConverter implements Converter {
@Override
public Boolean convertFrom(final String source) {
return Boolean.parseBoolean(source);
}
@Override
public String convertTo(final Boolean value) {
return value.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy