| | |
| | | |
| | | import com.forgerock.opendj.cli.Argument; |
| | | import com.forgerock.opendj.cli.ArgumentException; |
| | | import java.security.Provider; |
| | | import java.security.Security; |
| | | |
| | | /** |
| | | * This class defines a number of static utility methods that may be used |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | public static List<String> splittedStringAsList(String str, String delim) { |
| | | final List<String> result = new ArrayList<String>(); |
| | | if ((str != null) && !str.isEmpty()) { |
| | | final String[] array = str.split(delim); |
| | | if (array.length > 0) { |
| | | result.addAll(Arrays.asList(array)); |
| | | } |
| | | } |
| | | |
| | | return result; |
| | | } |
| | | |
| | | } |
| | | |