Java Path Merge mergePath(String... paths)

Here you can find the source of mergePath(String... paths)

Description

merge Path

License

LGPL

Declaration

public static String mergePath(String... paths) 

Method Source Code

//package com.java2s;
//License from project: LGPL 

public class Main {
    public static String mergePath(String... paths) {
        String outPath = "";
        for (String path : paths) {
            if (path != null) {
                outPath = mergePath(outPath, path);
            }/* w w  w. j  a v a  2  s.c  o  m*/
        }
        return outPath.toString();
    }
}

Related

  1. merge(String path, String relativePath)
  2. merge(String path, String relativePath, boolean hasAuthority)
  3. mergePath(String path1, String path2)
  4. mergePaths(String part1, String part2)