public class LegacyNdkOutputParser extends java.lang.Object implements PatternAwareOutputParser
Constructor and Description |
---|
LegacyNdkOutputParser() |
Modifier and Type | Method and Description |
---|---|
boolean |
parse(java.lang.String line,
OutputLineReader reader,
java.util.List<com.android.ide.common.blame.Message> messages,
com.android.utils.ILogger logger)
Parses the given output line.
|
public boolean parse(@NonNull java.lang.String line, @NonNull OutputLineReader reader, @NonNull java.util.List<com.android.ide.common.blame.Message> messages, @NonNull com.android.utils.ILogger logger) throws ParsingFailedException
PatternAwareOutputParser
parse
in interface PatternAwareOutputParser
line
- the line to parse.reader
- passed in case this parser needs to parse more lines in order to create a
Message
.messages
- stores the messages created during parsing, if any.true
if this parser was able to parser the given line, false
otherwise.ParsingFailedException
- if something goes wrong (e.g. malformed output.)