Lines Matching refs:path

54  *  into a boot class path, user class path, and source path (in
104 /** Whether to warn about non-existent path elements */
112 * rt.jar as found on the default bootclass path. If the user specified a
123 Path path = pathsForLocation.get(location);
124 if (path == null)
129 void setPathForLocation(Location location, Iterable<? extends File> path) {
133 if (path == null) {
151 for (File f: path)
195 * Split a path into its elements. Empty path elements will be ignored.
196 * @param path The path to be split
197 * @return The elements of the path
199 private static Iterable<File> getPathEntries(String path) {
200 return getPathEntries(path, null);
204 * Split a path into its elements. If emptyPathDefault is not null, all
205 * empty elements in the path, including empty elements at either end of
206 * the path, will be replaced with the value of emptyPathDefault.
207 * @param path The path to be split
208 * @param emptyPathDefault The value to substitute for empty path elements,
209 * or null, to ignore empty path elements
210 * @return The elements of the path
212 private static Iterable<File> getPathEntries(String path, File emptyPathDefault) {
215 while (start <= path.length()) {
216 int sep = path.indexOf(File.pathSeparatorChar, start);
218 sep = path.length();
220 entries.add(new File(path.substring(start, sep)));
239 /** What to use when path element is the empty string */
270 "dir.path.element.not.found", dir);
306 "path.element.not.found", file);
353 // filenames, but if we do, we should redo all path-related code.
367 Path path = new Path();
375 path.addFiles(xbootclasspathPrependOpt);
378 path.addDirectories(endorseddirsOpt);
380 path.addDirectories(System.getProperty("java.endorsed.dirs"), false);
383 path.addFiles(bootclasspathOpt);
386 String files = System.getProperty("sun.boot.class.path");
387 path.addFiles(files, false);
395 path.addFiles(xbootclasspathAppendOpt);
401 path.addDirectories(extdirsOpt);
403 path.addDirectories(System.getProperty("java.ext.dirs"), false);
410 return path;
417 if (cp == null) cp = System.getProperty("env.class.path");
420 // platform class path
422 cp = System.getProperty("java.class.path");
429 .emptyPathDefault(new File(".")) // Empty path elt ==> current directory
504 * Utility method for converting a search path string to an array
509 * @param path the search path string
512 public static URL[] pathToURLs(String path) {
513 StringTokenizer st = new StringTokenizer(path, File.pathSeparator);