Class CombinedLogReader


public class CombinedLogReader extends ParsingReader
Obtains records from a webserver's access log file using the Combined Log format.

See Combined Log Format

  • Constructor Details

    • CombinedLogReader

      public CombinedLogReader(File file) throws FileNotFoundException
      Creates a reader for the log file; each record has the fields remoteHost, clientUsername, authenticatedUsername, date, request, status, bytes, referrer, userAgent and cookies.
      Throws:
      FileNotFoundException
    • CombinedLogReader

      public CombinedLogReader(Reader reader)
      Creates a reader for the log stream; each record has the fields remoteHost, clientUsername, authenticatedUsername, date, request, status, bytes, referrer, userAgent and cookies.
  • Method Details