Package thredds.logs

Class LogReader


  • public class LogReader
    extends Object
    Superclass to read TDS logs
    Since:
    Apr 10, 2008
    • Method Detail

      • readAll

        public void readAll​(File dir,
                            FileFilter ff,
                            LogReader.Closure closure,
                            LogReader.LogFilter logf,
                            LogReader.Stats stat)
                     throws IOException
        Read all the files in a directory and process them. Files are sorted by filename.
        Parameters:
        dir - read from this directory
        ff - files must pass this filter (may be null)
        closure - send each Log to this closure
        logf - filter out these Logs (may be null)
        stat - accumulate statistics (may be null)
        Throws:
        IOException - on read error