public abstract class AbstractConsumer extends Object implements org.codehaus.plexus.util.cli.StreamConsumer
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
AbstractConsumer() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected final org.slf4j.Logger logger
public AbstractConsumer()
protected Date parseDate(String date, String userPattern, String defaultPattern)
date - TODOuserPattern - TODOdefaultPattern - TODOprotected Date parseDate(String date, String userPattern, String defaultPattern, Locale locale)
date - TODOuserPattern - TODOdefaultPattern - TODOlocale - TODOCopyright © 2003–2024 The Apache Software Foundation. All rights reserved.