Lines Matching defs:path

48  * This class is used to represent a class path, which can contain both
64 * The original class path string
69 * List of class path entries
71 private ClassPathEntry[] path;
74 * Build a class path from the specified path string
81 * Build a class path from the specified array of class path
86 * manifest entry will contain a path separator, which would cause
87 * incorrect behavior if the expanded path were passed to the
88 * previous constructor as a single path-separator-delimited
96 * Build a default class path from the path strings specified by
97 * the properties sun.boot.class.path and env.class.path, in that
103 String syscp = System.getProperty("sun.boot.class.path");
104 String envcp = System.getProperty("env.class.path");
114 // Save original class path string
118 this.path = new ClassPathEntry[0];
121 // Count the number of path separators
126 // Build the class path
127 ClassPathEntry[] path = new ClassPathEntry[n+1];
135 path[n++] = new DirClassPathEntry(new File("."));
142 path[n++] = new ZipClassPathEntry(zip);
148 path[n++] = new DirClassPathEntry(file);
156 path[n++] = new JrtClassPathEntry(fs);
161 // Trim class path to exact size
162 this.path = new ClassPathEntry[n];
163 System.arraycopy((Object)path, 0, (Object)this.path, 0, n);
167 // Save original class path string
179 // Build the class path
180 ClassPathEntry[] path = new ClassPathEntry[patharray.length + 1];
187 path[n++] = new ZipClassPathEntry(zip);
193 path[n++] = new DirClassPathEntry(file);
200 path[n++] = new JrtClassPathEntry(fs);
205 // Trim class path to exact size
206 this.path = new ClassPathEntry[n];
207 System.arraycopy((Object)path, 0, (Object)this.path, 0, n);
211 * Find the specified directory in the class path
218 * Load the specified file from the class path
240 for (int i = 0; i < path.length; i++) {
241 ClassFile cf = path[i].getFile(name, subdir, basename, isDirectory);
254 for (int i = path.length; --i >= 0; ) {
255 path[i].fillFiles(pkg, ext, files);
264 for (int i = path.length; --i >= 0; ) {
265 path[i].close();
270 * Returns original class path string
278 * A class path entry, which can either be a directory or an open zip file or an open jimage filesystem.
393 // package name to package directory path mapping (lazily filled)