Package com.baulsupp.kolja.log.viewer.request

Examples of com.baulsupp.kolja.log.viewer.request.StandardRequestIndex


  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;
  }
View Full Code Here


  }

  public static Iterator<Line> loadByRequests(CharSequence buffer, LogFormat format) {
    LineIndex lineIndex = format.getLineIndex(buffer);

    StandardRequestIndex requestIndex = format.getRequestIndex(lineIndex);

    return new BasicLineIterator(requestIndex);
  }
View Full Code Here

  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;
 
View Full Code Here

TOP

Related Classes of com.baulsupp.kolja.log.viewer.request.StandardRequestIndex

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.