List of usage examples for org.apache.commons.beanutils Converter interface-usage
From source file au.gov.sa.environment.gift.jdbc.UtilDateConverter.java
/**
* <p>Standard {@link Converter} implementation that converts an incoming
* String into a <code>java.util.Date</code> object, optionally using a
* default value or throwing a {@link ConversionException} if a conversion
* error occurs.</p>
*
From source file org.apache.bval.jsr.util.EnumerationConverter.java
/**
* A {@code org.apache.commons.beanutils.Converter} implementation to handle
* Enumeration type.
*
* $Id: EnumerationConverter.java 1226560 2012-01-02 22:18:19Z mbenson $
*/
From source file org.beanfuse.bean.converters.DateConverter.java
public class DateConverter implements Converter { public Object convert(final Class type, final Object value) { if (value == null) { return null; } else if (type == Date.class) {
From source file org.jdesigner.platform.web.converter.ConverterFacade.java
/**
* Provides a facade for {@link Converter} implementations preventing access to
* any public API in the implementation, other than that specified by
* {@link Converter}.
* <p />
* This implementation can be used to prevent registered {@link Converter}
From source file com.alibaba.otter.node.etl.common.db.utils.ByteArrayConverter.java
/**
* eromanga???byte??byte[]?
*
* @author jianghang 2011-12-16 ?04:32:08
* @version 4.0.0
*/
From source file org.bitsofinfo.util.address.usps.ais.loader.GenericEnumConverter.java
/**
* GenericEnumConverter is a commons BeanUtils converter
* which takes and Enum class and a String value. The
* converter will return the real Enum value for the given
* string value for the given Enum class. If no match
* is found null returned
From source file is.illuminati.block.spyros.garmin.parser.digester.DateTimeConverter.java
public class DateTimeConverter implements Converter { private static DateTimeFormatter dateTimeFormatter = ISODateTimeFormat.dateTimeNoMillis(); @SuppressWarnings("rawtypes") @Override
From source file org.dozer.converters.CalendarConverter.java
/**
* Internal class for converting Supported Data Types --> Calendar. Supported source data types include Date, Calendar,
* String, Objects that return a long from their toString(). Only intended for internal use.
*
* @author tierney.matt
*/
From source file com.cnd.greencube.web.base.filter.parameter.converter.SqlDateConverter.java
/**
* <p>
* Standard {@link Converter} implementation that converts an incoming String
* into a <code>java.sql.Date</code> object, optionally using a default value
* or throwing a {@link ConversionException} if a conversion error occurs.
* </p>
From source file com.github.dozermapper.core.converters.CalendarConverter.java
/** * Internal class for converting Supported Data Types to Calendar. Supported source data types include Date, Calendar, * String, Objects that return a long from their toString(). Only intended for internal use. */ public class CalendarConverter implements Converter {