Class TfsChangeLogConsumer
java.lang.Object
org.apache.maven.scm.util.AbstractConsumer
org.apache.maven.scm.provider.tfs.command.consumer.TfsChangeLogConsumer
- All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
void
consumeLine
(String line) private static DateFormat[]
createDateFormatsForLocaleAndTimeZone
(Locale locale, TimeZone timeZone) Build an array of DateFormats that are commonly used for this locale and timezone.getLogs()
boolean
protected static Date
private static Date
parseWithFormats
(String input, DateFormat[] formats) Methods inherited from class org.apache.maven.scm.util.AbstractConsumer
getLogger, parseDate, parseDate, setLogger
-
Field Details
-
PATTERN
- See Also:
-
PATTERN_ITEM
- See Also:
-
logs
-
buffer
-
fed
boolean fed
-
-
Constructor Details
-
TfsChangeLogConsumer
-
-
Method Details
-
consumeLine
-
getLogs
-
addChangeLog
private void addChangeLog() -
hasBeenFed
public boolean hasBeenFed() -
parseDate
- Throws:
ParseException
-
parseWithFormats
- Throws:
ParseException
-
createDateFormatsForLocaleAndTimeZone
Build an array of DateFormats that are commonly used for this locale and timezone.
-