pl.edu.agh.cast.importer.base.parser.analyzer
Class DateAndTimeAnalyzer

java.lang.Object
  extended by pl.edu.agh.cast.importer.base.parser.analyzer.AbstractDateAnalyzer
      extended by pl.edu.agh.cast.importer.base.parser.analyzer.DateAndTimeAnalyzer
All Implemented Interfaces:
IAnalyzer

public class DateAndTimeAnalyzer
extends AbstractDateAnalyzer

Analyzer for the DateAndTimeDataType objects representing the connection's date and time.

Author:
AGH CAST Team

Field Summary
 
Fields inherited from class pl.edu.agh.cast.importer.base.parser.analyzer.AbstractDateAnalyzer
dateFormat
 
Constructor Summary
DateAndTimeAnalyzer()
          The default constructor.
 
Method Summary
 IAnalyzer createCopy()
          Creates a copy of the current analyzer.
 List<Class<?>> getReturnTypes()
          Retrieves the return types of the IAnalyzer.analyze(String) method.
 DateAndTimeDataType parseDate(String text)
          
 
Methods inherited from class pl.edu.agh.cast.importer.base.parser.analyzer.AbstractDateAnalyzer
analyze, equals, getDatePattern, hashCode, isComplete, setDateFormat, setDefaultValue, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DateAndTimeAnalyzer

public DateAndTimeAnalyzer()
The default constructor.

Method Detail

parseDate

public DateAndTimeDataType parseDate(String text)
                              throws ParseException

Overrides:
parseDate in class AbstractDateAnalyzer
Throws:
ParseException
See Also:
AbstractDateAnalyzer.parseDate(java.lang.String)

createCopy

public IAnalyzer createCopy()
Creates a copy of the current analyzer.

Returns:
analyzer of the same type and parameters set
See Also:
IAnalyzer.createCopy()

getReturnTypes

public List<Class<?>> getReturnTypes()
Retrieves the return types of the IAnalyzer.analyze(String) method.

Returns:
analysis return types
See Also:
IAnalyzer.getReturnTypes()


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.