Home | History | Annotate | Download | only in util

Lines Matching refs:pathname

106                 String pathname = tokenizer.nextToken ();
108 if (canonical) pathname = canonicalizePathname (pathname);
110 if (pathnames.add (pathname))
112 _result.add (new File (pathname));
124 * Converts 'pathname' into the canonical OS form. This wrapper function
125 * will return the absolute form of 'pathname' if File.getCanonicalPath() fails.
127 public static String canonicalizePathname (final String pathname)
129 if (pathname == null) throw new IllegalArgumentException ("null input: pathname");
133 return new File (pathname).getCanonicalPath ();
137 return new File (pathname).getAbsolutePath ();
311 * @return writeable temp file descriptor [incorporates 'parentDir' in its pathname]