public static String join(String basePath, String[] listPath) {
		if (null == listPath || null == basePath) {
			throw new NullPointerException("basePath或listPath对象为null");
		}
		if (listPath.length == 0) {
			return basePath;
		}

		StringBuilder buf = new StringBuilder();
		buf.append(separatorConvert(basePath));
		for (String s : listPath) {
			s = separatorConvert(s);
			if (s.startsWith(separator)) {
				buf.delete(0, buf.length());
				buf.append(s);
			} else if (buf.toString().endsWith(separator)) {
				buf.append(s);
			} else {
				buf.append(separator);
				buf.append(s);
			}
		}

		return buf.toString();

	}