Lines Matching defs:path
235 * @param path Where the file is located (from source root)
240 public Document getDocument(File file, InputStream in, String path,
245 doc.add(new Field("u", Util.path2uid(path, date),
260 if (path != null) {
261 doc.add(new Field("path", path, TextField.TYPE_STORED));
262 Project project = Project.getProject(path);
440 String path = file;
442 if (((i = path.lastIndexOf('/')) > 0 || (i = path.lastIndexOf('\\')) > 0)
443 && (i + 1 < path.length())) {
444 path = path.substring(i + 1);
446 int dotpos = path.lastIndexOf('.');
449 ext.get(path.substring(dotpos + 1).toUpperCase(Locale.getDefault()));
455 return FILE_NAMES.get(path.toUpperCase(Locale.getDefault()));