org.apache.maven.scm.provider.git.command.diff
Class GitDiffConsumer

java.lang.Object
  extended by org.apache.maven.scm.provider.git.command.diff.GitDiffConsumer
All Implemented Interfaces:
StreamConsumer

public class GitDiffConsumer
extends Object
implements StreamConsumer

Version:
$Id: GitDiffConsumer.java 1056981 2011-01-09 17:24:53Z olamy $
Author:
Brett Porter, Mark Struberg, Olivier Lamy

Constructor Summary
GitDiffConsumer(ScmLogger logger, File workingDirectory)
           
 
Method Summary
 void consumeLine(String line)
          
 List<ScmFile> getChangedFiles()
           
 Map<String,CharSequence> getDifferences()
           
 String getPatch()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GitDiffConsumer

public GitDiffConsumer(ScmLogger logger,
                       File workingDirectory)
Method Detail

consumeLine

public void consumeLine(String line)

Specified by:
consumeLine in interface StreamConsumer

getChangedFiles

public List<ScmFile> getChangedFiles()

getDifferences

public Map<String,CharSequence> getDifferences()

getPatch

public String getPatch()


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.