Here you can find the source of csvToArray(String dirs)
public static String[] csvToArray(String dirs)
//package com.java2s; //License from project: Open Source License public class Main { public static String[] csvToArray(String dirs) { return dirs != null ? dirs.split(";") : new String[0]; }/*from w ww .java 2 s . c om*/ }