Lines Matching defs:path1
307 * Build a path from the two path components. Concatenate path1 and path2. Insert the path
308 * separator character in between if necessary (i.e., if both are non-empty and path1 does not already
311 * @param path1 - the first path component may be null or empty
313 * @return the path resulting from concatenating path1 to path2
315 public String path(String path1, String path2) {
317 if (path1 != null && path1.length() > 0) {
318 buf.append(path1);
321 if ((path1 != null && path1.length() > 0)
322 && (!isSeparator(path1.charAt(path1.length() - 1)))