org.apache.maven.scm.provider.cvslib.command.list
Class CvsListConsumer
java.lang.Object
org.apache.maven.scm.provider.cvslib.command.list.CvsListConsumer
- All Implemented Interfaces:
- StreamConsumer
public class CvsListConsumer
- extends Object
- implements StreamConsumer
Parses CVS/Entries format, for example, like
/checkoutlist/1.9/Wed Jan 26 19:08:06 2005/-kkv/
/commitinfo/1.10/Tue Jan 11 01:25:34 2005/-kkv/
/config/1.15/Sun Jan 23 02:15:57 2005/-kkv/
D/directory1////
D/directory2////
- Version:
- $Id: CvsListConsumer.java 1055646 2011-01-05 21:22:58Z olamy $
- Author:
- Sergey Zakusov: implemented to fix "Unknown file status" problem
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CvsListConsumer
public CvsListConsumer(ScmLogger logger)
- Parameters:
logger
- is a logger
consumeLine
public void consumeLine(String i_line)
-
- Specified by:
consumeLine
in interface StreamConsumer
getEntries
public List<ScmFile> getEntries()
- Returns:
- Parse result
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.