org.wdssii.dualpol.icing
Class PirepsReader

java.lang.Object
  extended by org.wdssii.dualpol.icing.PirepsReader

public class PirepsReader
extends Object

Reads PIREPS (pilot reports of icing)

Author:
lakshman

Field Summary
private static org.apache.commons.logging.Log log
           
 
Constructor Summary
PirepsReader()
           
 
Method Summary
 List<PilotReport> createObject(File path)
          pass in the file name and obtain an object back.
private static float FeetToKms(float feet)
           
 PilotReport[] readReports(String dir, String pattern)
          Reads all the reports in a given directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static org.apache.commons.logging.Log log
Constructor Detail

PirepsReader

public PirepsReader()
Method Detail

FeetToKms

private static float FeetToKms(float feet)

createObject

public List<PilotReport> createObject(File path)
pass in the file name and obtain an object back.


readReports

public PilotReport[] readReports(String dir,
                                 String pattern)
Reads all the reports in a given directory. The filename should match the given pattern