Class LineOffsetsUtil
- java.lang.Object
-
- jetbrains.buildServer.vcs.patches.diff.apply.LineOffsetsUtil
-
public class LineOffsetsUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description LineOffsetsUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LineOffsetscreate(CharSequence text, String lineSeparator)static StringgetLineSeparator(CharSequence text)static intindexOf(CharSequence s, char c, int start)
-
-
-
Method Detail
-
getLineSeparator
@NotNull public static String getLineSeparator(@NotNull CharSequence text)
-
create
@NotNull public static LineOffsets create(@NotNull CharSequence text, @NotNull String lineSeparator)
-
indexOf
public static int indexOf(@NotNull CharSequence s, char c, int start)
-
-