Class DiffViewUtil
- java.lang.Object
-
- jetbrains.buildServer.controllers.changes.DiffViewUtil
-
public class DiffViewUtil extends Object
- Author:
- Sergey.Anchipolevsky, Maxim.Podkolzine Date: 28.05.2008
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
collapseSpaces(byte[] content, boolean collapse)
static Map<String,Object>
fillDiffModel(org.springframework.web.servlet.ModelAndView view, Modification modification, VcsFileModification change, boolean ignoreSpaces, javax.servlet.http.HttpServletRequest request)
static Map<String,Object>
fillDiffModel(org.springframework.web.servlet.ModelAndView view, Modification modification, VcsFileModification change, javax.servlet.http.HttpServletRequest request)
static String
getContentText(byte[] content, boolean collapse)
static boolean
isTextFile(byte[] data)
-
-
-
Method Detail
-
fillDiffModel
public static Map<String,Object> fillDiffModel(org.springframework.web.servlet.ModelAndView view, Modification modification, VcsFileModification change, javax.servlet.http.HttpServletRequest request)
-
fillDiffModel
public static Map<String,Object> fillDiffModel(org.springframework.web.servlet.ModelAndView view, Modification modification, VcsFileModification change, boolean ignoreSpaces, javax.servlet.http.HttpServletRequest request)
-
getContentText
@NotNull public static String getContentText(byte[] content, boolean collapse)
-
collapseSpaces
@NotNull public static byte[] collapseSpaces(@NotNull byte[] content, boolean collapse)
-
isTextFile
public static boolean isTextFile(byte[] data)
-
-