Class TextFilePatch
- java.lang.Object
-
- com.intellij.openapi.diff.impl.patch.FilePatch
-
- com.intellij.openapi.diff.impl.patch.TextFilePatch
-
public class TextFilePatch extends FilePatch
- Author:
- yole
-
-
Constructor Summary
Constructors Constructor Description TextFilePatch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHunk(PatchHunk hunk)
List<PatchHunk>
getHunks()
String
getNewFileText()
boolean
isDeletedFile()
boolean
isNewFile()
TextFilePatch
pathsOnlyCopy()
-
Methods inherited from class com.intellij.openapi.diff.impl.patch.FilePatch
getAfterFileName, getAfterName, getAfterNameRelative, getAfterVersionId, getBeforeFileName, getBeforeName, getBeforeVersionId, setAfterName, setAfterVersionId, setBeforeName, setBeforeVersionId
-
-
-
-
Method Detail
-
addHunk
public void addHunk(PatchHunk hunk)
-
pathsOnlyCopy
public TextFilePatch pathsOnlyCopy()
-
getNewFileText
public String getNewFileText()
-
isDeletedFile
public boolean isDeletedFile()
- Specified by:
isDeletedFile
in classFilePatch
-
-