this.lineParser = lineParser;
this.content = content;
}
public static FileLineIterator load(LogFormat format, File file, boolean end) throws IOException {
EntryPattern entryPattern = format.getEntryPattern();
LineParser lineParser = format.getLineParser();
BufferingStringBuilder content = new FileBufferingStringBuilder(file, end);
return new FileLineIterator(content, entryPattern, lineParser);
}