public void addMatcher(FieldCopier fieldCopier) {
matchers.add(fieldCopier);
}
public StandardRequestIndex getRequestIndex(LineIndex lineIndex, ConfigurableLineFormat lineFormat) {
StandardRequestIndex requestIndex = new StandardRequestIndex(requestField, contentField, Arrays.asList(fields), lineIndex);
requestIndex.setBeginPattern(startPattern);
requestIndex.setEndPattern(endPattern);
requestIndex.setDateField(dateField);
requestIndex.setStatusFormatter(statusFormatter);
requestIndex.setOffsetIsEnd(offsetIsEnd);
requestIndex.setMatchers(matchers);
lineIndex.addLineListener(requestIndex);
return requestIndex;
}