public abstract class XppStreamConsumer extends Thread implements org.codehaus.plexus.util.cli.StreamConsumer
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
XppStreamConsumer(ScmLogger logger) |
Modifier and Type | Method and Description |
---|---|
protected void |
caughtParseException(Exception e) |
void |
consumeLine(String line) |
protected void |
endTag(List<String> tagPath) |
ScmLogger |
getLogger() |
protected static String |
getTagName(List<String> tagPath) |
protected void |
parse(org.codehaus.plexus.util.xml.pull.XmlPullParser p) |
void |
run() |
protected void |
startTag(List<String> tagPath,
Map<String,String> attributes) |
protected void |
text(List<String> tagPath,
String text) |
void |
waitComplete()
close the input and wait for parsing to complete
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public XppStreamConsumer(ScmLogger logger)
public final void consumeLine(String line)
consumeLine
in interface org.codehaus.plexus.util.cli.StreamConsumer
protected void caughtParseException(Exception e)
protected void parse(org.codehaus.plexus.util.xml.pull.XmlPullParser p) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOException
public void waitComplete()
protected static String getTagName(List<String> tagPath)
Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.