org.opengts.db
Class TrackStick

java.lang.Object
  extended by org.opengts.db.TrackStick

public class TrackStick
extends java.lang.Object


Field Summary
static java.lang.String PROP_addIgnitionState
           
static java.lang.String PROP_defaultTimeZone
           
static java.lang.String PROP_estimateOdometer
           
static java.lang.String PROP_minimumDormantSeconds
           
static java.lang.String PROP_minimumHeadingChange
           
static java.lang.String PROP_minimumMovingSeconds
           
static java.lang.String PROP_minimumSpeedKPH
           
static java.lang.String PROP_preClearEvents
           
static java.lang.String PROP_reverseGeocode
           
 
Constructor Summary
TrackStick(Account acct, Device dev)
           
 
Method Summary
 Account getAccount()
           
 java.lang.String getAccountID()
           
 Device getDevice()
           
 java.lang.String getDeviceID()
           
static void main(java.lang.String[] argv)
           
 boolean parseFile(java.io.File csvFile, java.util.TimeZone csvTMZ)
          Parse date from speified file
 boolean parseStream(java.io.InputStream csvStream, java.util.TimeZone csvTMZ)
          Parse data from specified stream
 void printHeader()
          Print Header
 void setDisplayTimeZone(java.util.TimeZone dispTmz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_defaultTimeZone

public static final java.lang.String PROP_defaultTimeZone
See Also:
Constant Field Values

PROP_minimumSpeedKPH

public static final java.lang.String PROP_minimumSpeedKPH
See Also:
Constant Field Values

PROP_minimumHeadingChange

public static final java.lang.String PROP_minimumHeadingChange
See Also:
Constant Field Values

PROP_minimumDormantSeconds

public static final java.lang.String PROP_minimumDormantSeconds
See Also:
Constant Field Values

PROP_minimumMovingSeconds

public static final java.lang.String PROP_minimumMovingSeconds
See Also:
Constant Field Values

PROP_estimateOdometer

public static final java.lang.String PROP_estimateOdometer
See Also:
Constant Field Values

PROP_addIgnitionState

public static final java.lang.String PROP_addIgnitionState
See Also:
Constant Field Values

PROP_preClearEvents

public static final java.lang.String PROP_preClearEvents
See Also:
Constant Field Values

PROP_reverseGeocode

public static final java.lang.String PROP_reverseGeocode
See Also:
Constant Field Values
Constructor Detail

TrackStick

public TrackStick(Account acct,
                  Device dev)
Method Detail

getAccount

public Account getAccount()

getAccountID

public java.lang.String getAccountID()

getDevice

public Device getDevice()

getDeviceID

public java.lang.String getDeviceID()

setDisplayTimeZone

public void setDisplayTimeZone(java.util.TimeZone dispTmz)

printHeader

public void printHeader()
Print Header


parseFile

public boolean parseFile(java.io.File csvFile,
                         java.util.TimeZone csvTMZ)
                  throws java.io.IOException
Parse date from speified file

Throws:
java.io.IOException

parseStream

public boolean parseStream(java.io.InputStream csvStream,
                           java.util.TimeZone csvTMZ)
                    throws java.io.IOException
Parse data from specified stream

Throws:
java.io.IOException

main

public static void main(java.lang.String[] argv)