Class StringUtils


  • public class StringUtils
    extends java.lang.Object
    String manipulation utilitary class.
    • Constructor Summary

      Constructors 
      Constructor Description
      StringUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String uniformizePathPattern​(java.lang.String path)
      Replaces all "\" character with "/" character, and ensures that there is no double "/".
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StringUtils

        public StringUtils()
    • Method Detail

      • uniformizePathPattern

        public static java.lang.String uniformizePathPattern​(java.lang.String path)
        Replaces all "\" character with "/" character, and ensures that there is no double "/".
        Parameters:
        path - the path-like string to clean.
        Returns:
        the cleaned path-like string.