com.northconcepts.datapipeline.weblog
Class CombinedLogReader

java.lang.Object
  extended by com.northconcepts.datapipeline.core.DataEndpoint
      extended by com.northconcepts.datapipeline.core.DataReader
          extended by com.northconcepts.datapipeline.core.AbstractReader
              extended by com.northconcepts.datapipeline.core.ParsingReader
                  extended by com.northconcepts.datapipeline.weblog.CombinedLogReader

public class CombinedLogReader
extends ParsingReader

Obtains records from a webserver's access log file using the Combined Log format.

See Combined Log Format


Nested Class Summary
 
Nested classes/interfaces inherited from class com.northconcepts.datapipeline.core.DataEndpoint
DataEndpoint.State
 
Field Summary
 
Fields inherited from class com.northconcepts.datapipeline.core.ParsingReader
parser, valueBuffer
 
Fields inherited from class com.northconcepts.datapipeline.core.AbstractReader
currentRecord, fieldNames, lastRow, startingRow
 
Fields inherited from class com.northconcepts.datapipeline.core.DataEndpoint
BUFFER_SIZE, log
 
Constructor Summary
CombinedLogReader(File file)
           
CombinedLogReader(Reader reader)
           
 
Method Summary
protected  boolean fillRecord(Record record)
           
 
Methods inherited from class com.northconcepts.datapipeline.core.ParsingReader
addExceptionProperties, available, isDigit, isLetter, isNewLine, match, matchCHARACTER, matchDIGIT, matchDIGITS, matchDOUBLE, matchINTEGER, matchNEWLINE, matchNEWLINES, peekCHARACTER
 
Methods inherited from class com.northconcepts.datapipeline.core.AbstractReader
getFieldNames, getLastRow, getStartingRow, isFieldNamesInFirstRow, open, read, readImpl, setFieldNames, setFieldNamesInFirstRow, setLastRow, setStartingRow
 
Methods inherited from class com.northconcepts.datapipeline.core.DataReader
getBufferSize, getNestedReader, getRootReader, peek, pop, push, skip
 
Methods inherited from class com.northconcepts.datapipeline.core.DataEndpoint
assertNotOpened, assertOpened, close, decrementRecordCount, exception, exception, exception, finalize, getDescription, getRecordCount, getRecordCountAsBigInteger, getRecordCountAsString, getState, incrementRecordCount, isClosed, isOpen, isRecordCountBigInteger, resetRecordCount, setDescription, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CombinedLogReader

public CombinedLogReader(File file)
                  throws FileNotFoundException
Throws:
FileNotFoundException

CombinedLogReader

public CombinedLogReader(Reader reader)
Method Detail

fillRecord

protected boolean fillRecord(Record record)
                      throws Throwable
Overrides:
fillRecord in class ParsingReader
Throws:
Throwable


Copyright (c) 2007-2012 North Concepts Inc. All Rights Reserved.