接口 PathUtils


  • public interface PathUtils
    Path Utilities class
    从以下版本开始:
    2.7.6
    • 方法概要

      静态方法 
      修饰符和类型 方法 说明
      static String buildPath​(String rootPath, String... subPaths)  
      static String normalize​(String path)
      Normalize path: To remove query string if presents To remove duplicated slash("/") if exists
    • 方法详细资料

      • normalize

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