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

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

public class TimeAnalyzer
extends AbstractDateAnalyzer

Analyzer for the TimeDataType objects representing the connection's time.

Author:
AGH CAST Team

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

TimeAnalyzer

public TimeAnalyzer()
The default constructor.

Method Detail

parseDate

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