/opengrok/src/org/opensolaris/opengrok/util/ |
H A D | IOUtils.java | 64 * @param path directory to delete 67 public static void removeRecursive(Path path) throws IOException argument 69 Files.walkFileTree(path, new SimpleFileVisitor<Path>() {
|
/opengrok/jrcs/src/main/java/org/apache/commons/jrcs/diff/myers/ |
H A D | MyersDiff.java | 93 PathNode path = buildPath(orig, rev); 94 return buildRevision(path, orig, rev); 105 * @throws DifferentiationFailedException if a diff path could not be found. 124 PathNode path = null; 177 throw new DifferentiationFailedException("could not find a diff path"); 181 * Constructs a {@link Revision} from a difference path. 183 * @param path The path. 186 * @return A {@link Revision} script corresponding to the path. 188 * not be built from the given path 190 buildRevision(PathNode path, Object[] orig, Object[] rev) argument [all...] |
/opengrok/jrcs/src/main/java/org/apache/commons/jrcs/rcs/ |
H A D | Path.java | 68 * A path from the head revision to a given revision in an Archive. 71 * to the last node in the path. 82 private List path = new LinkedList(); field in class:Path 97 path.add(node); 107 return path.size(); 111 * Return the last node in the path or null if the path is empty. 112 * @return the last node in the path or null if the path is empty. 122 return (Node) path [all...] |
/opengrok/src/org/opensolaris/opengrok/index/ |
H A D | IndexChangedListener.java | 33 * @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 D | DefaultIndexChangedListener.java | 42 public void fileAdd(String path, String analyzer) { argument 43 LOGGER.log(Level.INFO, "Add: {0} ({1})", new Object[]{path, analyzer}); 47 public void fileRemove(String path) { argument 48 LOGGER.log(Level.INFO, "Remove file:{0}", path); 51 public void fileUpdate(String path) { argument 52 LOGGER.log(Level.INFO, "Update: {0}", path); 56 public void fileAdded(String path, String analyzer) { argument 57 LOGGER.log(Level.FINER, "Added: {0} ({1})", new Object[]{path, analyzer}); 61 public void fileRemoved(String path) { argument 62 LOGGER.log(Level.FINER, "Removed file:{0}", path); [all...] |
/opengrok/src/org/opensolaris/opengrok/web/ |
H A D | DiffData.java | 40 public String path; field in class:DiffData
|
H A D | DirectoryListing.java | 93 * @param contextPath path used for link prefixes 96 * @param path virtual path of the directory (usually the path name of 110 String path, List<String> files) 117 parentFNode = desc.getNode(path); 140 if (path.length() != 0) { 181 Util.writeHAD(out, contextPath, path + file, isDir); 109 listTo(String contextPath, File dir, Writer out, String path, List<String> files) argument
|
H A D | EftarFileReader.java | 148 public FNode getNode(String path) throws IOException { argument 149 StringTokenizer toks = new StringTokenizer(path, "/"); 152 if (File.separator.equals(path) || path.length() == 0) { 175 public String get(String path) throws IOException { argument 176 StringTokenizer toks = new StringTokenizer(path, "/");
|
/opengrok/src/org/opensolaris/opengrok/history/ |
H A D | DirectoryHistoryReader.java | 88 * tree under @code path and storing their histories in giant @code hash. 90 * @param path directory to generate history for 93 public DirectoryHistoryReader(String path) throws IOException { argument 102 ireader = IndexDatabase.getIndexReader(path); 115 query = qparser.parse(path); 129 if (!rpath.startsWith(path)) { 137 "Could not get date for " + path, ex); 188 private void put(Date date, String revision, String author, String comment, String path) { argument 214 fls.add(path); 250 * Go through all history entries in @code hist for file @code path an [all...] |
H A D | HistoryGuru.java | 376 String path = file.getCanonicalPath(); 377 repository.setDirectoryName(path); 380 new Object[]{repository.getClass().getName(), path}); 402 "Failed to get canonical path for {0}: {1}", 433 String path = entry.getKey(); 439 type, path)); 446 + " in %s: Not implemented", type, path)); 449 + path + " (" + type + ")", e); 453 + "%s: Missing SCM dependencies?", type, path)); 496 String path 712 getRepository(File path) argument [all...] |
H A D | RazorRepository.java | 124 * name (and path) under multiple directories (Archive, History & Info)), 141 // The path of the repository itself is stored in the super class. 185 File getSourceNameForOpenGrokName(String path) { argument 186 return new File(opengrokSourceRootDirectoryPath + path); 312 StringBuilder path = new StringBuilder(razorGroupBaseDirectoryPath); 313 path.append(intermediateElements); 316 path.append(f.getAbsolutePath() 321 path.append(fileSuffix); 324 return new File(path.toString());
|
/opengrok/src/org/opensolaris/opengrok/search/ |
H A D | Results.java | 103 private static String getTags(File basedir, String path, boolean compressed) { argument 105 try (HTMLStripCharFilter r = new HTMLStripCharFilter(getXrefReader(basedir, path, compressed))) { 110 Level.WARNING, "An error reading tags from " + basedir + path 118 File basedir, String path, boolean compressed) 122 new FileInputStream(new File(basedir, path + ".gz"))))); 124 return new BufferedReader(new FileReader(new File(basedir, path))); 117 getXrefReader( File basedir, String path, boolean compressed) argument
|
H A D | Hit.java | 66 * path relative to source root. 68 private String path; field in class:Hit 89 this.path = filename; 112 * Getter for property path. 114 * @return Value of property path. 117 return this.path;
|
H A D | QueryBuilder.java | 48 public static final String PATH = "path"; 127 * Set search string for the "path" field. 129 * @param path query string to set 132 public QueryBuilder setPath(String path) { argument 133 return addQueryText(PATH, path); 137 * Get search string for the "path" field.
|
/opengrok/egrok/src/org/opensolaris/opengrok/egrok/model/ |
H A D | Hit.java | 12 private static final String ATTRIBUTE_PATH = "path"; 18 private String path; field in class:Hit 39 String path) { 45 this.path = path; 81 return path; 84 public void setPath(String path) { argument 85 this.path = path; 38 Hit(String directory, String filename, int lineno, String line, String path) argument
|
/opengrok/test/org/opensolaris/opengrok/index/ |
H A D | IndexerTest.java | 104 System.out.println("Skipping test. Could not find a ctags I could use in path."); 168 assertEquals("project path", p1.getPath(), newP1.getPath()); 188 System.out.println("Skipping test. Could not find a ctags I could use in path."); 198 public void fileAdd(String path, String analyzer) { argument 202 public void fileAdded(String path, String analyzer) { argument 203 files.add(path); 207 public void fileRemove(String path) { argument 211 public void fileUpdate(String path) { argument 215 public void fileRemoved(String path) { argument 216 files.remove(path); [all...] |
/opengrok/src/org/opensolaris/opengrok/search/context/ |
H A D | HistoryContext.java | 77 public boolean getContext(String filename, String path, List<Hit> hits) argument 85 path, null, hits,null); 90 String parent, String basename, String path, Writer out, String context) 93 return getContext(new File(parent, basename), path, out, context); 100 * @param src the source file represented by <var>path</var> 101 * (SOURCE_ROOT + path) 102 * @param path the path of the file (rooted at SOURCE_ROOT) 104 * @param context the servlet context path of the application (the path 89 getContext( String parent, String basename, String path, Writer out, String context) argument 109 getContext(File src, String path, Writer out, String context) argument 127 getHistoryContext( History in, String path, Writer out, List<Hit> hits, String wcontext) argument 207 writeMatch(Appendable out, String line, int start, int end, boolean flatten, String path, String wcontext, String nrev, String rev) argument [all...] |
H A D | Context.java | 123 String morePrefix, String path, Definitions tags, 125 return getContext(in, out, urlPrefix, morePrefix, path, tags, limit, isDefSearch, hits, null); 134 * @param path path of the file 140 String morePrefix, String path, Definitions tags, 151 String pathE = Util.URIEncodePath(path); 181 Hit hit = new Hit(path, 222 LOGGER.log(Level.WARNING, "Could not get context for " + path, e); 273 tokens.setFilename(path); 305 LOGGER.log(Level.WARNING, "Could not get context for " + path, 122 getContext(Reader in, Writer out, String urlPrefix, String morePrefix, String path, Definitions tags, boolean limit, boolean isDefSearch, List<Hit> hits) argument 139 getContext(Reader in, Writer out, String urlPrefix, String morePrefix, String path, Definitions tags, boolean limit, boolean isDefSearch, List<Hit> hits, Scopes scopes) argument [all...] |
/opengrok/src/org/opensolaris/opengrok/configuration/ |
H A D | Project.java | 37 private String path; field in class:Project 64 * Get the path (relative from source root) where this project is located 66 * @return the relative path 69 return path; 78 return path; 102 * Set the path (relative from source root) this project is located It seems 103 * that you should ALWAYS prefix the path with current file.separator , 106 * @param path the relative path from source sroot where this project is 109 public void setPath(String path) { argument 165 getProject(String path) argument [all...] |
/opengrok/src/org/opensolaris/opengrok/logger/ |
H A D | LoggerUtil.java | 92 public static void setFileHandlerLogPath(String path) throws IOException { argument 93 if (path != null) { 94 File jlp = new File(path); 102 logfile.append(path == null ? "%t" : path);
|
/opengrok/src/org/opensolaris/opengrok/management/ |
H A D | ManagementMBean.java | 41 * @return String with the file path and name for xml configuration 47 * @param filename String name with full path of configurationfile 182 * Set the path for the file logging 183 * @param path String path to where to log 184 * @throws IOException if path does not exist or could be created on server 186 public void setFileLogPath(String path) throws IOException; argument 190 * @return String file log path
|
H A D | AgentIndexRunner.java | 241 public void fileAdd(String path, String analyzer) { argument 242 LOGGER.log(Level.INFO, "Add {0} analyzer {1}", new Object[]{path, analyzer}); 246 public void fileRemove(String path) { argument 247 LOGGER.log(Level.INFO, "File remove {0}", path); 251 public void fileUpdate(String path) { argument 252 LOGGER.log(Level.INFO, "File updated {0}", path); 253 addFileAction("U:", path); 258 public void fileAdded(String path, String analyzer) { argument 259 LOGGER.log(Level.INFO, "Added {0} analyzer {1}", new Object[]{path, analyzer}); 260 addFileAction("A:", path); 264 fileRemoved(String path) argument 269 addFileAction(String type, String path) argument [all...] |
H A D | Management.java | 252 public void setFileLogPath(String path) throws IOException { argument 253 LoggerUtil.setFileHandlerLogPath(path);
|
/opengrok/test/org/opensolaris/opengrok/analysis/ |
H A D | JFlexXrefTest.java | 157 * @param path path to input file with a definition 159 private void bug15890Anchor(Class<? extends JFlexXref> klass, String path) argument 161 File file = new File(repository.getSourceRoot() + File.separator + path); 259 * Verify that we use breadcrumb path for both #include <x/y.h> and 265 * path search (bug #17816) 278 {"#include <abc.h>", "#<b>include</b> <<a href=\"/source/s?path=abc.h\">abc.h</a>>"}, 279 {"#include <abc/def.h>", "#<b>include</b> <<a href=\"/source/s?path=abc/\">abc</a>/<a href=\"/source/s?path=abc/def.h\">def.h</a>>"}, 280 {"#include \"abc.h\"", "#<b>include</b> <span class=\"s\">\"<a href=\"/source/s?path [all...] |
/opengrok/src/org/opensolaris/opengrok/analysis/executables/ |
H A D | JavaClassAnalyzer.java | 98 ClassParser classparser = new ClassParser(in, doc.get("path")); 135 private static final String APATH="path="; 139 protected String linkPath(String path) { argument 142 .append(Util.URIEncodePath(path)).append(AHREFT_END) 143 .append(Util.htmlize(path)).append(AHREFEND).toString();
|