public abstract class LogEntriesInfoProvider extends LogFileParser
LogFileManager
that supports entries extraction (see LogFileManager.supportLogEntriesExtraction()
).LogFileParser
that parses the log text).LogFileParser
, providing a stub for features irrelevant
to entries extraction (like parsing a line of text).ManagerSpecVersion
Constructor and Description |
---|
LogEntriesInfoProvider() |
Modifier and Type | Method and Description |
---|---|
String |
getParserName()
This implementation returns a specific name to indicate that this is not a really Parser, but a stub used to extract entries.
|
String |
getSupportedFileType()
This implementation returns a specific file type to indicate that this is not a really Parser, but a stub used to extract entries.
|
protected void |
parseLine(String pLine)
This implementation does nothing, its purpose it to avoid implementations of this class to have
to implement this method.
|
addEntry, createNewEntry, getAbsoluteEntryDate, getDescriptionForUser, getEntryStringRepresentation, getGUIName, getLastParsedLineNumber, getLocale, getLogFileManager, getParsedFileName, getRelativeEntryDate, getUserDefinedFieldDesription, getUserDefinedFields, getUserDefinedFieldsClasses, getVersionInfo, init, isEmitterFieldProvided, isLevelFieldProvided, removeLastEntry
protected final void parseLine(String pLine) throws Exception
parseLine
in class LogFileParser
pLine
- New line to process by Parser (should not contain \n or \r).null
, that means the LogFileManager has no more line to read.Exception
- If an unexpected error occurs while Parser processed new line. LogMX will then notify
the user with a dialog box and will try to parse the file with the next parserLogFileParser.parseLine(java.lang.String)
public String getParserName()
getParserName
in class LogFileParser
LogFileParser.getParserName()
public String getSupportedFileType()
getSupportedFileType
in class LogFileParser
LogFileParser.getSupportedFileType()
Copyright © 2025 LightySoft. All rights reserved. [LogMX v8.4.0 (Jan 3, 2025)]