public class SVNPatchHunk extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SVNPatchHunk.SVNPatchHunkRange |
Modifier and Type | Field and Description |
---|---|
static 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 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 IOException
IOException
public static SVNPatchHunk parseNextHunk(SVNPatch patch) throws IOException, SVNException
IOException
SVNException
Copyright © 2024. All rights reserved.