org.apache.maven.scm.provider.git.command.diff
Class GitDiffConsumer
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GitDiffConsumer
public GitDiffConsumer(ScmLogger logger,
File workingDirectory)
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.