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 LineOffsets
create(CharSequence text, String lineSeparator)
static String
getLineSeparator(CharSequence text)
static int
indexOf(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)
-
-