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

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

public class DateAnalyzer
extends AbstractDateAnalyzer

Analyzer for the DateDataType objects representing the connection's date.

Author:
AGH CAST Team

Field Summary
 
Fields inherited from class pl.edu.agh.cast.importer.base.parser.analyzer.AbstractDateAnalyzer
dateFormat
 
Constructor Summary
DateAnalyzer()
          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.
 DateDataType 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

DateAnalyzer

public DateAnalyzer()
The default constructor.

Method Detail

parseDate

public DateDataType 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.