BufferingStringBuilder content = new FileBufferingStringBuilder(file, end);
return new FileLineIterator(content, entryPattern, lineParser);
}
public static FileLineIterator loadFromStdin(LogFormat format) throws IOException {
ConfigurableLineFormat lineFormat = ((ConfigurableLogFormat) format).getLineFormat();
EntryPattern entryPattern = lineFormat.getEntryPattern();
BufferingStringBuilder content = new StreamBufferingStringBuilder(System.in);
return new FileLineIterator(content, entryPattern, lineFormat.getLineParser());
}