1 33 34 package edu.rice.cs.drjava.config; 35 import java.io.File ; 36 import java.util.Vector ; 37 38 41 class ClassPathOption { 42 43 private String warning = 44 "WARNING: Configurability interface only supports path separators of at most one character"; 45 46 public VectorOption<File > evaluate(String optionName) { 47 String ps = System.getProperty("path.separator"); 49 if (ps.length() > 1) { 50 System.out.println(warning); 52 System.out.println("using '" + ps.charAt(0) + "' for delimiter."); 53 } 54 FileOption fop = new FileOption("",FileOption.NULL_FILE); 55 char delim = ps.charAt(0); 57 return new VectorOption<File >(optionName,fop,"",delim,"",new Vector <File >()); 58 } 59 } 60 | Popular Tags |