Example usage for org.eclipse.jgit.diff DiffFormatter subclass-usage

List of usage examples for org.eclipse.jgit.diff DiffFormatter subclass-usage

Introduction

In this page you can find the example usage for org.eclipse.jgit.diff DiffFormatter subclass-usage.

Usage

From source file com.gitblit.utils.DiffStatFormatter.java

/**
 * Calculates a DiffStat.
 *
 * @author James Moger
 *
 */

From source file com.gitblit.utils.GitBlitDiffFormatter.java

/**
 * Generates an html snippet of a diff in Gitblit's style, tracks changed paths, and calculates diff stats.
 *
 * @author James Moger
 * @author Tom <tw201207@gmail.com>
 *

From source file com.gitblit.utils.GitWebDiffFormatter.java

/**
 * Returns an html snippet of the diff in the standard Gitweb style.
 * 
 * @author James Moger
 * 
 */

From source file com.gitblit.utils.PatchFormatter.java

/**
 * A diff formatter that outputs standard patch content.
 *
 * @author James Moger
 *
 */

From source file com.google.gitiles.HtmlDiffFormatter.java

/** Formats a unified format patch as UTF-8 encoded HTML. */
final class HtmlDiffFormatter extends DiffFormatter {
    private static final byte[] DIFF_BEGIN = "<pre class=\"diff-unified\">".getBytes(Charsets.UTF_8);
    private static final byte[] DIFF_END = "</pre>".getBytes(Charsets.UTF_8);

    private static final byte[] HUNK_BEGIN = "<span class=\"h\">".getBytes(Charsets.UTF_8);

From source file net.riezebos.thoth.content.versioncontrol.SimpleDiffFormatter.java

public class SimpleDiffFormatter extends DiffFormatter {

    public SimpleDiffFormatter() {
        super(new ByteArrayOutputStream());
    }

From source file org.codice.git.hook.ChangeOnlyDiffFormatter.java

public class ChangeOnlyDiffFormatter extends DiffFormatter {

    public ChangeOnlyDiffFormatter(OutputStream out) {
        super(out);
    }

From source file org.eclipse.egit.ui.internal.commit.DiffRegionFormatter.java

/**
 * Diff region formatter class that builds up a list of
 * {@link DiffRegion} instances as each {@link FileDiff} is being written to
 * an {@link IDocument}.
 */
public class DiffRegionFormatter extends DiffFormatter {

From source file org.eclipse.egit.ui.internal.commit.DiffStyleRangeFormatter.java

/**
 * Diff style range formatter class that builds up a list of
 * {@link DiffStyleRange} instances as each {@link FileDiff} is being written to
 * an {@link IDocument}.
 */
public class DiffStyleRangeFormatter extends DiffFormatter {

From source file org.webcat.core.git.PrettyDiffFormatter.java

/**
 * TODO real description
 *
 * @author  Tony Allevato
 * @author  Last changed by $Author: stedwar2 $
 * @version $Revision: 1.2 $, $Date: 2012/03/28 13:48:08 $