@Component public class LogParser extends Object
Modifier and Type | Field and Description |
---|---|
static org.joda.time.format.DateTimeFormatter |
FILE_DATE_FORMAT |
static String |
FILE_EXTENSION |
Constructor and Description |
---|
LogParser() |
Modifier and Type | Method and Description |
---|---|
Iterator<LogEvent> |
getLogEventIterator(LogParserConfig config,
Collection<File> files) |
File[] |
getLogFiles(org.joda.time.DateTime date) |
String |
getLogFolderPath() |
void |
setLogFolderPath(String logFolderPath) |
public static final org.joda.time.format.DateTimeFormatter FILE_DATE_FORMAT
public static final String FILE_EXTENSION
public File[] getLogFiles(org.joda.time.DateTime date) throws FileNotFoundException
FileNotFoundException
public Iterator<LogEvent> getLogEventIterator(LogParserConfig config, Collection<File> files) throws IOException
IOException
public String getLogFolderPath()
public void setLogFolderPath(String logFolderPath)
Copyright © 2016. All rights reserved.