gps.log.in
Class GPSInputConversionFactory

java.lang.Object
  extended by gps.log.in.GPSInputConversionFactory

public class GPSInputConversionFactory
extends java.lang.Object

Author:
Mario De Weerd

Constructor Summary
GPSInputConversionFactory()
           
 
Method Summary
static void addHandler(GPSInputConversionFactory newFactory)
          Adds a new handler to the head of the chain of command.
static GPSInputConversionFactory getHandler()
          Get the first handler in the chain of command.
 GPSLogConvertInterface getInputConversionInstance(BT747Path logFile, int loggerType)
          Gets a conversion instance for the given filename.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GPSInputConversionFactory

public GPSInputConversionFactory()
Method Detail

getHandler

public static final GPSInputConversionFactory getHandler()
Get the first handler in the chain of command.

Returns:
first handler.

getInputConversionInstance

public GPSLogConvertInterface getInputConversionInstance(BT747Path logFile,
                                                         int loggerType)
Gets a conversion instance for the given filename. Child class should call super method if it can't produce an instance.

Parameters:
logFile -
Returns:
conversion instance.

addHandler

public static final void addHandler(GPSInputConversionFactory newFactory)
Adds a new handler to the head of the chain of command.

Parameters:
newFactory -