Package jfun.util.os

Examples of jfun.util.os.PathTokenizer


   * @throws MalformedURLException if any sub-string is not convertible to URL.
   */
  public static URL[] toUrls(File basedir, String str)
  throws MalformedURLException{
    final List result = new ArrayList();
    PathTokenizer tok = new PathTokenizer(str);
    while (tok.hasMoreTokens()) {
      final String element = tok.nextToken();
      result.add(toUrl(basedir, element));
    }
    final URL[] ret = new URL[result.size()];
    result.toArray(ret);
    return ret;
View Full Code Here

TOP

Related Classes of jfun.util.os.PathTokenizer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.