Searched refs:path (Results 1 - 25 of 60) sorted by relevance

123

/opengrok-jel/src/org/opensolaris/opengrok/index/
H A DIndexChangedListener.java33 * @param path The path to the file (absolute from source root)
36 void fileAdd(String path, String analyzer); argument
39 * @param path The path to the file (absolute from source root)
42 void fileAdded(String path, String analyzer); argument
45 * @param path The path to the file (absolute from source root)
47 void fileRemove(String path); argument
50 * @param path Th
52 fileRemoved(String path) argument
57 fileUpdate(String path) argument
[all...]
H A DDefaultIndexChangedListener.java40 public void fileAdd(String path, String analyzer) { argument
42 log.log(Level.FINE, "Add file ''{0}'' ({1})", new Object[]{path, analyzer});
47 public void fileRemove(String path) { argument
48 log.log(Level.FINE, "Remove file ''{0}''", path);
51 public void fileUpdate(String path) { argument
52 log.log(Level.FINE, "Update file ''{0}''", path);
56 public void fileAdded(String path, String analyzer) { argument
58 log.log(Level.FINER, "Added file ''{0}'' ({1})", new Object[]{path, analyzer});
63 public void fileRemoved(String path) { argument
64 log.log(Level.FINER, "Removed file ''{0}''", path);
[all...]
H A DFilter.java126 * Check, whether the given path's basename, its absolute name or extension
128 * @param path the path to check.
131 public boolean match(File path) { argument
132 String fileName = path.getName();
142 String absolute = path.getAbsolutePath();
160 * Check, whether the given path's basename, its absolute name or extension
162 * @param path the path to check.
165 public boolean match(String path) { argument
[all...]
H A DIndexDatabase.java189 for (String path : paths) {
190 Project project = Project.getProject(path);
192 logger.warning("Could not find a project for '" + path + "'");
205 if (db.addDirectory(path)) {
210 logger.warning("Directory does not exist '" + path + "'");
560 String path = Util.uid2url(uidIter.term().text());
563 listener.fileRemove(path);
567 File xrefFile = new File(xrefDir, path);
582 listener.fileRemoved(path);
589 * @param path Th
593 addFile(File file, String path) argument
759 isLocal(String path) argument
1031 getIndexReader(String path) argument
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/configuration/
H A DProject.java34 private String path; field in class:Project
55 * Get the path (relative from source root) where this project is located
56 * @return the relative path
59 return path;
67 return path;
90 * Set the path (relative from source root) this project is located
91 * It seems that you should ALWAYS prefix the path with current
93 * @param path the relative path from source sroot where this project is
96 public void setPath(String path) { argument
126 getProject(String path) argument
[all...]
/opengrok-jel/jrcs/src/main/java/org/apache/commons/jrcs/diff/myers/
H A DMyersDiff.java94 PathNode path = buildPath(orig, rev);
95 return buildRevision(path, orig, rev);
106 * @throws DifferentiationFailedException if a diff path could not be found.
176 throw new DifferentiationFailedException("could not find a diff path");
180 * Constructs a {@link Revision} from a difference path.
182 * @param path The path.
185 * @return A {@link Revision} script corresponding to the path.
187 * not be built from the given path.
190 public static Revision buildRevision(PathNode path, Objec argument
[all...]
/opengrok-jel/jrcs/src/main/java/org/apache/commons/jrcs/rcs/
H A DPath.java68 * A path from the head revision to a given revision in an Archive.
71 * to the last node in the path.
83 private List path = new LinkedList(); field in class:Path
99 path.add(node);
109 return path.size();
113 * Return the last node in the path or null if the path is empty.
114 * @return the last node in the path or null if the path is empty.
122 return (Node) path
[all...]
H A DArchive.java121 * Archive archive = new Archive("/path/to/archive,v");
250 * @param path The path to the file wher the archive resides.
254 public Archive(String path) throws ParseException, FileNotFoundException argument
256 this.filename = new File(path).getPath();
271 * @param path The full path name.
273 public void setFileName(String path) argument
275 this.filename = path;
292 * @param path Th
295 save(String path) argument
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/analysis/csharp/
H A DCSharpXref.lex77 String path = yytext();
78 path = path.substring(1, path.length() - 1);
79 out.write("<a href=\""+urlPrefix+"path=");
80 out.write(path);
83 out.write(path);
143 { out.write(Util.breadcrumbPath(urlPrefix+"path=",yytext(),'/'));}
147 String path = yytext();
148 out.write("<a href=\""+urlPrefix+"path
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/analysis/java/
H A DJavaXref.lex83 String path = yytext();
84 path = path.substring(1, path.length() - 1);
85 out.write("<a href=\""+urlPrefix+"path=");
86 out.write(path);
89 out.write(path);
159 { out.write(Util.breadcrumbPath(urlPrefix+"path=",yytext(),'/'));}
163 String path = yytext();
164 out.write("<a href=\""+urlPrefix+"path
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/analysis/javascript/
H A DJavaScriptXref.lex77 String path = yytext();
78 path = path.substring(1, path.length() - 1);
79 out.write("<a href=\""+urlPrefix+"path=");
80 out.write(path);
83 out.write(path);
137 { out.write(Util.breadcrumbPath(urlPrefix+"path=",yytext(),'/'));}
141 String path = yytext();
142 out.write("<a href=\""+urlPrefix+"path
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/analysis/python/
H A DPythonXref.lex73 String path = yytext();
74 path = path.substring(1, path.length() - 1);
75 out.write("<a href=\""+urlPrefix+"path=");
76 out.write(path);
79 out.write(path);
148 { out.write(Util.breadcrumbPath(urlPrefix+"path=",yytext(),'/'));}
152 String path = yytext();
153 out.write("<a href=\""+urlPrefix+"path
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/analysis/vb/
H A DVBXref.lex78 String path = yytext();
79 path = path.substring(1, path.length() - 1);
80 out.write("<a href=\""+urlPrefix+"path=");
81 out.write(path);
84 out.write(path);
126 { out.write(Util.breadcrumbPath(urlPrefix+"path=",yytext(),'/'));}
130 String path = yytext();
131 out.write("<a href=\""+urlPrefix+"path
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/analysis/archive/
H A DBZip2Analyzer.java71 String path = doc.get("path");
72 if(path != null &&
73 (path.endsWith(".bz2") || path.endsWith(".BZ2") || path.endsWith(".bz"))
75 String newname = path.substring(0, path.lastIndexOf('.'));
H A DGZIPAnalyzer.java66 String path = doc.get("path");
67 if (path != null &&
68 (path.endsWith(".gz") || path.endsWith(".GZ") || path.endsWith(".Gz"))) {
69 String newname = path.substring(0, path.length() - 3);
/opengrok-jel/src/org/opensolaris/opengrok/search/context/
H A DHistoryContext.java89 * @param path the path of the source file (rooted at SOURCE_ROOT)
94 public boolean getContext(String filename, String path, List<Hit> hits) argument
101 return getHistoryContext(HistoryGuru.getInstance().getHistory(f), path,
111 * @param path the path of the source file (rooted at SOURCE_ROOT)
113 * @param context the servlet context path of the application (the path
118 public boolean getContext(String parent, String basename, String path, argument
121 return getContext(new File(parent, basename), path, ou
137 getContext(File src, String path, Writer out, String context) argument
157 getHistoryContext(History in, String path, Writer out, List<Hit> hits, String wcontext) argument
242 writeMatch(Appendable out, String line, int start, int end, boolean flatten, String path, String wcontext, String nrev, String rev) argument
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/analysis/perl/
H A DPerlXref.lex88 String path = yytext();
89 path = path.substring(1, path.length() - 1);
90 out.write("<a href=\""+urlPrefix+"path=");
91 out.write(path);
94 out.write(path);
156 { out.write(Util.breadcrumbPath(urlPrefix+"path=",yytext(),'/'));}
160 String path = yytext();
161 out.write("<a href=\""+urlPrefix+"path
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/history/
H A DHistoryGuru.java170 * @param file The file to get the history reader for (canonical path incl.
187 * @param path The file to get the history for (canonical path incl.
189 * @return The history for the given path including a list of files touched
193 public History getHistory(File path) throws HistoryException { argument
194 return getHistory(path, true);
202 * @param path The file to get the history for (canonical path incl.
207 * @return The history for the given path.
210 public History getHistory(File path, boolea argument
234 getHistory(File path, boolean withFiles, Boolean isDir) argument
704 isDirectory(String path) argument
763 getRepository(File path) argument
[all...]
H A DAccuRevRepository.java48 * It appears that the file path that is given to all these methods is the
49 * complete path to the file which includes the path to the root of the source
100 /* Strip off source root to get to workspace path. */
101 String path = getDepotRelativePath(file);
111 cmd.add(path);
142 * @param file file for which history is to be retrieved (canonical path
147 /* Strip off source root to get to workspace path. */
148 String path = getDepotRelativePath(file);
158 cmd.add(path);
[all...]
H A DRazorRepository.java121 * same name (and path) under multiple directories (Archive, History & Info)),
139 // The path of the repository itself is stored in the super class.
176 * @param path usually the parent of {@link #getDirectoryName()}
178 public void setSourceRootDir(String path) { argument
179 sourceRootDir = path;
192 * @param path usually {@link #getDirectoryName()}/.razor
194 public void setGroupBaseDir(String path) { argument
195 groupBaseDir = path;
331 StringBuffer path = new StringBuffer(groupBaseDir);
332 path
[all...]
/opengrok-jel/test/org/opensolaris/opengrok/search/context/
H A DHistoryContextTest.java85 String path = "/mercurial/Makefile";
86 String filename = repositories.getSourceRoot() + path;
91 assertTrue(new HistoryContext(q1).getContext(filename, path, hits));
101 assertTrue(new HistoryContext(q2).getContext(filename, path, hits));
109 assertFalse(new HistoryContext(q3).getContext(filename, path, hits));
117 assertTrue(new HistoryContext(q4).getContext(filename, path, hits));
127 String path = "/mercurial/Makefile";
128 File file = new File(repositories.getSourceRoot() + path);
135 assertTrue(new HistoryContext(q1).getContext(parent, base, path, sw, null));
144 assertTrue(new HistoryContext(q2).getContext(parent, base, path, s
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/management/
H A DAgentIndexRunner.java270 public void fileAdd(String path, String analyzer) { argument
271 log.log(Level.FINE, "Add ''{0}'' analyzer {1}", new Object[]{path, analyzer});
278 public void fileRemove(String path) { argument
279 log.log(Level.FINE, "File remove ''{0}''", path);
286 public void fileUpdate(String path) { argument
287 log.log(Level.FINE, "File updated ''{0}''", path);
288 addFileAction("U:", path);
296 public void fileAdded(String path, String analyzer) { argument
297 log.log(Level.FINE, "Added ''{0}'' analyzer {1}", new Object[]{path, analyzer});
298 addFileAction("A:", path);
305 fileRemoved(String path) argument
310 addFileAction(String type, String path) argument
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/analysis/c/
H A DCXref.lex73 String path = yytext().substring(1, yylength() - 1);
74 out.write(Util.breadcrumbPath(urlPrefix + "path=", path));
125 { out.write(Util.breadcrumbPath(urlPrefix+"path=",yytext(),'/')); }
129 String path = yytext();
130 out.write("<a href=\""+urlPrefix+"path=");
131 out.write(path);
134 out.write(path);
H A DCxxXref.lex73 String path = yytext().substring(1, yylength() - 1);
74 out.write(Util.breadcrumbPath(urlPrefix + "path=", path));
125 { out.write(Util.breadcrumbPath(urlPrefix+"path=",yytext(),'/'));}
129 String path = yytext();
130 out.write("<a href=\""+urlPrefix+"path=");
131 out.write(path);
134 out.write(path);
/opengrok-jel/src/org/opensolaris/opengrok/search/
H A DHit.java65 * path relative to source root.
67 private String path; field in class:Hit
88 this.path = filename;
111 * Getter for property path.
113 * @return Value of property path.
116 return this.path;

Completed in 26 milliseconds

123