Searched defs:prefix (Results 1 - 9 of 9) sorted by relevance

/opengrok/src/org/opensolaris/opengrok/search/context/
H A DPrefixMatcher.java27 * Matches a term against a prefix
30 private final String prefix; field in class:PrefixMatcher
32 public PrefixMatcher(String prefix, boolean caseInsensitive) { argument
34 this.prefix = normalizeString(prefix);
39 return tokenToMatch.startsWith(prefix) ? MATCHED : NOT_MATCHED;
/opengrok/test/org/opensolaris/opengrok/util/
H A DFileUtilities.java109 * @param prefix string to prefix the directory name with
113 public static File createTemporaryDirectory(String prefix) argument
115 File file = File.createTempFile(prefix, "opengrok");
/opengrok/src/org/opensolaris/opengrok/web/
H A DPrefix.java36 /** unknown prefix */
46 * lines. The servlet path of this link starts with this prefix. */
50 /** diff to previous version (link prefix) */
58 /** show the history for a file (link prefix) */
60 /** RSS XML Feed of latest changes (link prefix) */
62 /** Download file (link prefix) */
64 /** Raw file display (link prefix) */
66 /** full blown search from main page or top bar (link prefix) */
78 private final String prefix; field in class:Prefix
79 private Prefix(String prefix) { argument
[all...]
H A DUtil.java178 * @param urlPrefix prefix to add to each url
197 * @param urlPrefix prefix to add to each url
212 * @param urlPrefix prefix to add to each url
262 String prefix = urlPrefix == null ? "" : urlPrefix;
268 * (17 + prefix.length() + postfix.length()));
279 markup.append(anchorLinkStart).append(prefix).append(pwd)
622 * @param ctxE URI encoded prefix
1159 * Make a path relative by stripping off a prefix. If the path does not have
1160 * the given prefix, return the full path unchanged.
1162 * @param prefix th
1167 stripPathPrefix(String prefix, String fullPath) argument
[all...]
H A DPageConfig.java105 private Prefix prefix; field in class:PageConfig
931 * Get the prefix for the related request.
934 * prefix, the prefix otherwise.
937 if (prefix == null) {
938 prefix = Prefix.get(req.getServletPath());
940 return prefix;
1150 if (prefix != Prefix.XREF_P && prefix != Prefix.HIST_L
1151 && prefix !
[all...]
/opengrok/jrcs/src/main/java/org/apache/commons/jrcs/diff/
H A DChunk.java259 * Provide a string image of the chunk using the an empty prefix and
268 * Provide a string image of the chunk using the given prefix and
271 * @param prefix the text thatshould prefix each line.
274 public StringBuffer toString(StringBuffer s, String prefix, String postfix) argument
281 s.append(prefix);
/opengrok/src/org/opensolaris/opengrok/history/
H A DSubversionHistoryParser.java59 final String prefix; field in class:SubversionHistoryParser.Handler
68 Handler(String home, String prefix, int length, DateFormat df) { argument
70 this.prefix = prefix;
102 if (s.startsWith(prefix) && !s.equals(prefix)) {
103 File file = new File(home, s.substring(prefix.length()));
/opengrok/src/org/opensolaris/opengrok/analysis/
H A DAnalyzerGuru.java230 for (String prefix : factory.getPrefixes()) {
231 FileAnalyzerFactory old = pre.put(prefix, factory);
233 "prefix '" + prefix + "' used in multiple analyzers";
251 * prefix.
253 * @param prefix the file prefix to add
258 public static void addPrefix(String prefix, argument
261 pre.remove(prefix);
263 pre.put(prefix, factor
[all...]
/opengrok/lib/
H A Dbcel-6.0.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/bcel/ org/apache/bcel/classfile/ ...

Completed in 21 milliseconds