public class SVNPatchHunk
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SVNPatchHunk.SVNPatchHunkRange |
Modifier and Type | Field and Description |
---|---|
static java.util.Comparator |
COMPARATOR
Compare function for sorting hunks after parsing.
|
Constructor and Description |
---|
SVNPatchHunk() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
SVNPatchFileStream |
getDiffText() |
long |
getLeadingContext() |
SVNPatchHunk.SVNPatchHunkRange |
getModified() |
SVNPatchFileStream |
getModifiedText() |
SVNPatchHunk.SVNPatchHunkRange |
getOriginal() |
SVNPatchFileStream |
getOriginalText() |
long |
getTrailingContext() |
static SVNPatchHunk |
parseNextHunk(SVNPatch patch)
Return the next HUNK from a PATCH, using STREAM to read data from the
patch file.
|
public static final java.util.Comparator COMPARATOR
public SVNPatchFileStream getDiffText()
public SVNPatchFileStream getOriginalText()
public SVNPatchFileStream getModifiedText()
public SVNPatchHunk.SVNPatchHunkRange getOriginal()
public SVNPatchHunk.SVNPatchHunkRange getModified()
public long getLeadingContext()
public long getTrailingContext()
public void close() throws java.io.IOException
java.io.IOException
public static SVNPatchHunk parseNextHunk(SVNPatch patch) throws java.io.IOException, SVNException
java.io.IOException
SVNException
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.