Here you can find the source of toPathsFromArray(final String[] items)
Parameter | Description |
---|---|
items | a parameter |
public static String toPathsFromArray(final String[] items)
//package com.java2s; public class Main { /**/*from www . j a v a 2 s. co m*/ * @param items * @return */ public static String toPathsFromArray(final String[] items) { if (items == null) { return ""; } final StringBuilder dirStr = new StringBuilder(1024); for (final String dir : items) { dirStr.append(dir).append(";"); } return dirStr.toString(); } }