public final class LogCatLongEpochMessageParser extends LogCatMessageParser
| Modifier and Type | Field and Description |
|---|---|
static java.util.regex.Pattern |
EPOCH_TIME |
static java.time.format.DateTimeFormatter |
EPOCH_TIME_FORMATTER |
| Constructor and Description |
|---|
LogCatLongEpochMessageParser() |
| Modifier and Type | Method and Description |
|---|---|
LogCatHeader |
processLogHeader(java.lang.String string,
IDevice device)
Parse a header line into a
LogCatHeader object, or null if the input line
doesn't match the expected format. |
processLogLinespublic static final java.util.regex.Pattern EPOCH_TIME
public static final java.time.format.DateTimeFormatter EPOCH_TIME_FORMATTER
@Nullable public LogCatHeader processLogHeader(@NonNull java.lang.String string, @Nullable IDevice device)
LogCatMessageParserLogCatHeader object, or null if the input line
doesn't match the expected format.processLogHeader in class LogCatMessageParserstring - raw text that should be the header line from logcat -v longdevice - device from which these log messages have been receivedLogCatHeader which represents the passed in text