org.apache.maven.scm.util
public abstract class AbstractConsumer extends Object implements StreamConsumer
Constructor and Description |
---|
AbstractConsumer(ScmLogger logger)
AbstractConsumer constructor.
|
Modifier and Type | Method and Description |
---|---|
ScmLogger |
getLogger() |
protected Date |
parseDate(String date,
String userPattern,
String defaultPattern)
Converts the date timestamp from the output into a date object.
|
protected Date |
parseDate(String date,
String userPattern,
String defaultPattern,
Locale locale)
Converts the date timestamp from the output into a date object.
|
void |
setLogger(ScmLogger logger) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
consumeLine
public AbstractConsumer(ScmLogger logger)
logger
- The logger to use in the consumerCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.