Class SVNPatch
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.wc.patch.SVNPatch
-
public class SVNPatch extends java.lang.ObjectData type to manage parsing of patches.- Version:
- 1.3
- Author:
- TMate Software Ltd.
-
-
Constructor Summary
Constructors Constructor Description SVNPatch()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()java.util.ListgetHunks()java.io.FilegetNewFilename()java.io.FilegetOldFilename()SVNPatchFileStreamgetPatchFile()java.io.FilegetPath()static SVNPatchparseNextPatch(SVNPatchFileStream patchFile)Return the next PATCH in PATCH_FILE.
-
-
-
Field Detail
-
MINUS
public static final java.lang.String MINUS
- See Also:
- Constant Field Values
-
PLUS
public static final java.lang.String PLUS
- See Also:
- Constant Field Values
-
ATAT
public static final java.lang.String ATAT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPath
public java.io.File getPath()
-
getPatchFile
public SVNPatchFileStream getPatchFile()
-
getOldFilename
public java.io.File getOldFilename()
-
getNewFilename
public java.io.File getNewFilename()
-
getHunks
public java.util.List getHunks()
-
close
public void close() throws java.io.IOException- Throws:
java.io.IOException
-
parseNextPatch
public static SVNPatch parseNextPatch(SVNPatchFileStream patchFile) throws SVNException, java.io.IOException
Return the next PATCH in PATCH_FILE. If no patch can be found, set PATCH to NULL.- Throws:
SVNExceptionjava.io.IOException
-
-