Example usage for org.apache.commons.beanutils Converter interface-usage

List of usage examples for org.apache.commons.beanutils Converter interface-usage

Introduction

In this page you can find the example usage for org.apache.commons.beanutils Converter interface-usage.

Usage

From source file org.openhie.openempi.util.CurrencyConverter.java

/**
 * This class is converts a Double to a double-digit String
 * (and vise-versa) by BeanUtils when copying properties.
 *
 * @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a>
 */

From source file org.openhie.openempi.util.DateConverter.java

/**
 * This class is converts a java.util.Date to a String
 * and a String to a java.util.Date.
 * 
 * @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a>
 */

From source file jp.go.nict.langrid.p2pgridbasis.data.langrid.converter.LanguagePathArrayConverter.java

public class LanguagePathArrayConverter implements Converter {
    static private Logger logger = Logger.getLogger(LanguagePathArrayConverter.class);

    public Object convert(Class type, Object value) {
        logger.debug("type:" + type + " value:" + value);
        if (value == null) {

From source file org.alfresco.rest.workflow.api.impl.ISO8601Converter.java

public class ISO8601Converter implements Converter {
    @Override
    @SuppressWarnings("rawtypes")
    public Object convert(Class clazz, Object value) {
        Object result = false;

From source file jp.go.nict.langrid.p2pgridbasis.data.langrid.converter.InputStreamConverter.java

public class InputStreamConverter implements Converter {
    static private CharsetDecoder decoder = CharsetUtil.newUTF8Decoder();

    /*
     * (non-Javadoc)
     * @see jp.go.nict.langrid.p2pgridbasis.data.langrid.converter.ToStringConverter#convert(java.lang.Class, java.lang.Object)

From source file com.pdpsoft.web.IntegerConverter.java

/**
 * Created by IntelliJ IDEA.
 * User: saman
 * Date: May 20, 2009
 * Time: 6:34:58 PM
 */

From source file com.pdpsoft.web.LongConverter.java

/**
 * Created by IntelliJ IDEA.
 * User: ChrisShayan.com
 * Date: May 20, 2009
 * Time: 6:34:58 PM
 */

From source file com.pdpsoft.web.DoubleConverter.java

/**
 * Created by IntelliJ IDEA.
 * User: ChrisShayan.com
 * Date: May 20, 2009
 * Time: 6:34:58 PM
 */

From source file com.square.tarificateur.noyau.util.converter.StringXConverter.java

/**
 * Implmentation du converter.
 * @author nnadeau - SCUB
 */
public class StringXConverter implements Converter, InitializingBean {
    /**

From source file com.taobao.itest.util.DateConverter.java

public class DateConverter implements Converter {
    private static String resource = "envParams";
    private static String defaultDateTimePattern = null;
    private static String defaultDatePattern = null;

    public static synchronized String getDatePattern() {