Class EscapeUtils
- java.lang.Object
-
- org.apache.jackrabbit.oak.commons.sort.EscapeUtils
-
public abstract class EscapeUtils extends java.lang.ObjectUtility class to escape '\n', '\r', '\' char while being written to file and unescape then upon getting read from file. This is used by StringSort and ExternalSort to handle data which contains line break. If left unescaped then such data interferes with the processing of such utilities
-
-
Constructor Summary
Constructors Constructor Description EscapeUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringescapeLineBreak(@Nullable java.lang.String line)static java.lang.StringunescapeLineBreaks(@Nullable java.lang.String line)
-