cc.glsn.trafficmon
Class BWChart

java.lang.Object
  extended by cc.glsn.trafficmon.BWChart

public class BWChart
extends Object


Constructor Summary
BWChart(String chartname, ConfigFile settings)
           
 
Method Summary
 BWSpot getCurrentBW()
           
 double getNth(int N, TreeSet MonthData)
           
 void Print()
           
 void PrintNthSpread(int S, int E, int Direction)
           
 void PrintNthSpread(int S, int E, int Direction, int Year, int Month)
           
 void Update(int TimeStamp, double Bin, double Bout)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BWChart

public BWChart(String chartname,
               ConfigFile settings)
        throws Exception
Throws:
Exception
Method Detail

Update

public void Update(int TimeStamp,
                   double Bin,
                   double Bout)
            throws SQLException
Throws:
SQLException

getCurrentBW

public BWSpot getCurrentBW()
                    throws SQLException
Throws:
SQLException

Print

public void Print()

PrintNthSpread

public void PrintNthSpread(int S,
                           int E,
                           int Direction)
                    throws SQLException
Throws:
SQLException

PrintNthSpread

public void PrintNthSpread(int S,
                           int E,
                           int Direction,
                           int Year,
                           int Month)
                    throws SQLException
Throws:
SQLException

getNth

public double getNth(int N,
                     TreeSet MonthData)