pl.edu.agh.cast.importer.base.converter.rules
Class AbstractDateSingleColumnConversionRule
java.lang.Object
   pl.edu.agh.cast.importer.base.converter.rules.AbstractSingleColumnConversionRule
pl.edu.agh.cast.importer.base.converter.rules.AbstractSingleColumnConversionRule
       pl.edu.agh.cast.importer.base.converter.rules.AbstractDateSingleColumnConversionRule
pl.edu.agh.cast.importer.base.converter.rules.AbstractDateSingleColumnConversionRule
- All Implemented Interfaces: 
- IConversionRule
- Direct Known Subclasses: 
- DateSingleColumnConversionRule
- public abstract class AbstractDateSingleColumnConversionRule 
- extends AbstractSingleColumnConversionRule
Retrieves and returns a date value from a specified column of given data row.
 If fetching field fails it throws ConversionRuleException with one parameter which indicates column
 index of affected cell.
- Author:
- AGH CAST Team
| Field Summary | 
| static String | RULE_IDThe extension name of this conversion rule.
 | 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
RULE_ID
public static final String RULE_ID
- The extension name of this conversion rule.
 
- See Also:
- Constant Field Values
 
AbstractDateSingleColumnConversionRule
public AbstractDateSingleColumnConversionRule()
- The default constructor.
 
fetchDomainField
public Date fetchDomainField(DataRow row)
                      throws ConversionRuleException,
                             IllegalArgumentException
- Filters and processes a given row, in order to fetch a Datefield value.
 
- 
- Parameters:
- row- the row to fetch the date value from
- Returns:
- the Date field value
- Throws:
- ConversionRuleException
- IllegalArgumentException
 
Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.