protected static String getArray ( List < String > paths ) { StringBuilder builder = new StringBuilder ( ) ; for ( String s : paths ) { if ( builder . length ( ) == 0 ) { builder . append ( s ) ; } else { builder . append ( "," ) . append ( s ) ; } } return builder . toString ( ) ; }
Compute a String form the given list of paths . The list uses comma as separator .