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, waitconsumeLinepublic AbstractConsumer(ScmLogger logger)
logger - The logger to use in the consumerCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.