Searched refs:Prefix (Results 1 - 4 of 4) sorted by relevance

/opengrok-sun/src/org/opensolaris/opengrok/web/
H A DPrefix.java35 public enum Prefix { enum
77 private Prefix(String prefix) { method in class:Prefix
91 private static Map<String, Prefix> lookupTable;
93 lookupTable = new TreeMap<String, Prefix>();
94 for (Prefix p : Prefix.values()) {
102 * @return {@link Prefix#UNKNOWN} if <var>path</var> is {@code null} or has
106 public static Prefix get(String servletPath) {
115 Prefix p = lookupTable.get(pathPrefix);
H A DPageConfig.java90 private Prefix prefix;
179 + "from the <a href=\"" + context + Prefix.HIST_L
306 if (redir == null && getPrefix() == Prefix.HIST_L && !hasHistory()) {
311 if (getPrefix() == Prefix.XREF_P) {
316 } else if (getPrefix() == Prefix.RAW_P) {
519 // cfg.getPrefix() != Prefix.XREF_S) {
879 * @return {@link Prefix#UNKNOWN} if the servlet path matches any known
882 public Prefix getPrefix() {
884 prefix = Prefix.get(req.getServletPath());
1055 File dir = new File(getEnv().getDataRootPath() + Prefix
[all...]
H A DSearchHelper.java303 redirect = contextPath + Prefix.XREF_P
/opengrok-sun/src/org/opensolaris/opengrok/search/
H A DResults.java51 import org.opensolaris.opengrok.web.Prefix;
151 String xrefPrefix = sh.contextPath + Prefix.XREF_P;
152 String morePrefix = sh.contextPath + Prefix.MORE_P;
153 String xrefPrefixE = ctxE + Prefix.XREF_P;
154 String histPrefixE = ctxE + Prefix.HIST_L;
155 String rawPrefixE = ctxE + Prefix.RAW_P;
156 File xrefDataDir = new File(sh.dataRoot, Prefix.XREF_P.toString());

Completed in 13 milliseconds