Searched defs:path (Results 1 - 25 of 33) sorted by relevance

12

/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...]
/opengrok-jel/src/org/opensolaris/opengrok/index/
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 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 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...]
/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/src/org/opensolaris/opengrok/search/
H A DResults.java81 String rpath = doc.get("path");
94 private static String getTags(File basedir, String path, boolean isXref) { argument
99 File file = new File(basedir, path);
170 String rpath = doc.get("path");
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;
H A DQueryBuilder.java46 static final String PATH = "path";
104 /** Set search string for the "path" field.
105 * @param path query string to set
108 public QueryBuilder setPath(String path) { argument
109 return addQueryText(PATH, path);
112 * Get search string for the "path" field.
/opengrok-jel/src/org/opensolaris/opengrok/
H A DOpenGrokLogger.java110 public static void setFileLogPath(String path) throws IOException { argument
111 if (path != null) {
112 File jlp = new File(path);
120 if (path == null) {
123 logfile = new StringBuffer(path);
/opengrok-jel/src/org/opensolaris/opengrok/history/
H A DDirectoryHistoryReader.java78 * Create a new instance for the given path.
79 * @param path the path in question
83 public DirectoryHistoryReader(String path) throws IOException { argument
93 ireader = IndexDatabase.getIndexReader(path);
101 "path", new CompatibleAnalyser());
105 query = qparser.parse(path);
119 String rpath = doc.get("path");
120 if (!rpath.startsWith(path)) {
127 logger.warning("Could not get date for '" + path
174 put(Date date, String author, String comment, String path) argument
[all...]
H A DHistoryCache.java50 * Retrieve the history for the given path, either from the cache or by
53 * @param path The path to retrieve history for
61 * directory) gets determined automatically: if path physically exists
65 * @return the history for the given path.
68 History get(File path, Repository repository, boolean withFiles, Boolean isDir) argument
122 * @param path2rev where to store the path to revision entries. If
134 * @param path2rev where to store the path to revision entries. If
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...]
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...]
/opengrok-jel/src/org/opensolaris/opengrok/search/context/
H A DContext.java139 * @param path path of the file
147 String morePrefix, String path, Definitions tags, boolean limit,
159 String pathE = Util.uriEncodePath(path);
174 Hit hit = new Hit(path,
206 logger.warning("Could not get context for '" + path + "': "
261 tokens.setFilename(path);
291 logger.warning("Could not get context for '" + path + "': "
146 getContext(Reader in, Writer out, String urlPrefix, String morePrefix, String path, Definitions tags, boolean limit, List<Hit> hits) argument
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/web/
H A DEftarFileReader.java146 public FNode getNode(String path) throws IOException { argument
147 StringTokenizer toks = new StringTokenizer(path, "/");
150 if (File.separator.equals(path) || path.length() == 0) {
173 public String get(String path) throws IOException { argument
174 StringTokenizer toks = new StringTokenizer(path, "/");
/opengrok-jel/test/org/opensolaris/opengrok/index/
H A DIndexerTest.java100 System.out.println("Skipping test. Could not find a ctags I could use in path.");
165 assertEquals("project path", p1.getPath(), newP1.getPath());
185 System.out.println("Skipping test. Could not find a ctags I could use in path.");
193 public void fileAdd(String path, String analyzer) { argument
197 public void fileAdded(String path, String analyzer) { argument
198 files.add(path);
201 public void fileRemove(String path) { argument
205 public void fileUpdate(String path) { argument
209 public void fileRemoved(String path) { argument
254 + " or could not find a ctags or an sccs I could use in path
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/analysis/
H A DAnalyzerGuru.java226 * @param path Where the file is located (from source root)
233 public Document getDocument(File file, InputStream in, String path, argument
238 doc.add(new Field("u", Util.path2uid(path, date),
255 if (path != null) {
256 doc.add(new Field("path", path, Field.Store.YES, Field.Index.ANALYZED));
257 Project project = Project.getProject(path);
435 String path = file;
437 if (((i = path.lastIndexOf('/')) > 0 || (i = path
[all...]
H A DFileAnalyzer.java170 * @param fieldName filed name in question {@code path | project | hist}
176 if ("path".equals(fieldName) || "project".equals(fieldName)) {
216 * @param path the relative path wrt. <var>xrefDir</var> of the file to write.
219 public void writeXref(File xrefDir, String path) throws IOException { argument
223 w = new XrefWriter(new File(xrefDir, path), factory.getGenre(),
/opengrok-jel/src/org/opensolaris/opengrok/analysis/executables/
H A DJavaClassAnalyzer.java100 ClassParser classparser = new ClassParser(in, doc.get("path"));
143 * Get a HTML anchor for the given path.
144 * @param path path in question.
145 * @return a string like &lt;a href="$prefix?path=$path"&gt;$path&lt;/a&gt;
147 protected String linkPath(String path) { argument
148 return "<a href=\"" + urlPrefix + "path=" + Util.uriEncodeQueryValue(path)
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/management/
H A DManagementMBean.java42 * @return String with the file path and name for xml configuration
48 * @param filename String name with full path of configurationfile
176 * Set the path for the file logging
177 * @param path String path to where to log
178 * @throws IOException if path does not exist or could be created on server
180 public void setFileLogPath(String path) throws IOException; argument
184 * @return String file log path
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...]
H A DManagement.java304 public void setFileLogPath(String path) throws IOException { argument
305 OpenGrokLogger.setFileLogPath(path);
/opengrok-jel/test/org/opensolaris/opengrok/analysis/
H A DJFlexXrefTest.java158 * @param path path to input file with a definition
162 String path) throws Exception
164 File file = new File(repository.getSourceRoot() + File.separator + path);
268 * Verify that we use breadcrumb path for both #include &lt;x/y.h&gt; and
274 * path search (bug #17816)
293 + Prefix.SEARCH_R + "?path=abc.h\">abc.h</a>&gt;"},
295 + Prefix.SEARCH_R + "?path=abc/\">abc</a>/<a href=\"/source"
296 + Prefix.SEARCH_R + "?path=abc/def.h\">def.h</a>&gt;"},
298 + Prefix.SEARCH_R + "?path
161 bug15890Anchor(Class<? extends JFlexXref> klass, String path) argument
[all...]

Completed in 32 milliseconds

12