List of usage examples for org.apache.hadoop.util StringUtils getStringCollection
public static Collection<String> getStringCollection(String str, String delim)
From source file:org.apache.slider.core.launch.ClasspathConstructor.java
License:Apache License
/** * Split a classpath. This uses the local path separator so MUST NOT * be used to work with remote classpaths * @param localpath local path//from w w w .j av a 2s . c o m * @return a splite */ public Collection<String> splitClasspath(String localpath) { String separator = System.getProperty("path.separator"); return StringUtils.getStringCollection(localpath, separator); }