Class PatchReader
- java.lang.Object
-
- jetbrains.buildServer.vcs.patches.diff.PatchReader
-
public class PatchReader extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
NO_NEWLINE_SIGNATURE
-
Constructor Summary
Constructors Constructor Description PatchReader(CharSequence patchContent)
PatchReader(CharSequence patchContent, boolean saveHunks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<FilePatch>
getAllPatches()
List<TextFilePatch>
getTextPatches()
void
parseAllPatches()
List<TextFilePatch>
readTextPatches()
-
-
-
Field Detail
-
NO_NEWLINE_SIGNATURE
@NonNls public static final String NO_NEWLINE_SIGNATURE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PatchReader
public PatchReader(CharSequence patchContent)
-
PatchReader
public PatchReader(CharSequence patchContent, boolean saveHunks)
-
-
Method Detail
-
readTextPatches
@NotNull public List<TextFilePatch> readTextPatches() throws PatchSyntaxException
- Throws:
PatchSyntaxException
-
getTextPatches
@NotNull public List<TextFilePatch> getTextPatches()
-
parseAllPatches
public void parseAllPatches() throws PatchSyntaxException
- Throws:
PatchSyntaxException
-
-