Interface PathUtils


public interface PathUtils
Path Utilities class
Since:
2.7.6
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static String
    buildPath(String rootPath, String... subPaths)
     
    static String
    Normalize path: To remove query string if presents To remove duplicated slash("/") if exists
  • Method Details

    • buildPath

      static String buildPath(String rootPath, String... subPaths)
    • normalize

      static String normalize(String path)
      Normalize path:
      1. To remove query string if presents
      2. To remove duplicated slash("/") if exists
      Parameters:
      path - path to be normalized
      Returns:
      a normalized path if required