- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for substring (0.05 sec)
-
PermissionHelper.java
String aclPrefix; L67: if (lower.startsWith(allowPrefix)) { L68: lower = lower.substring(allowPrefix.length()); L69: permission = permission.substring(allowPrefix.length()); L70: aclPrefix = StringUtil.EMPTY; L71: } else if (lower.startsWith(denyPrefix)) { L72: lower = lower.substring(denyPrefix.length()); L73: permission = permission.substring(denyPrefix.length()); L74: aclPrefix = ComponentUtil.getFessConfig().getRoleSearchDeniedPrefix();...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 12.3K bytes -
GsaConfigParser.java
StringUtil.EMPTY; L286: } L287: if (s.startsWith("^") && s.endsWith("$")) { L288: return "^" + Pattern.quote(s.substring(1, s.length() - 1)) + "$"; L289: } L290: if (s.startsWith("^")) { L291: return "^" + Pattern.quote(s.substring(1)); L292: } L293: if (s.endsWith("$")) { L294: return Pattern.quote(s.substring(0, s.length() - 1)) + "$"; L295: } L296: return Pattern.quote(s); L297: } L298: L299: protected String unescape(final...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 14.1K bytes -
AbstractFessFileTransformer.java
L463: final String value = decodeUrlAsName(url.substring(9), true); L464: return abbreviateSite("\\\\" + value.replace('/', '\\')); L465: } L466: if (url.startsWith("file:")) { L467: final String value = decodeUrlAsName(url.substring(5), true); L468: if (value.length() > 2 && value.charAt(2) == ':') { L469: // Windows L470: return abbreviateSite(value.substring(1).replace('/', '\\')); L471: } L472: ...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 23.6K bytes -
AdminBackupAction.java
String index = indexObj.get("_index"); L216: if (index != null) { L217: if (index.startsWith(".fess")) { L218: indexObj.put("_index", index.substring(1)); L219: } L220: if (index.endsWith("scheduled_job")) { L221: resetJobs.set(true); L222: } L223: ...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:46 UTC 2024 28.5K bytes -
SystemHelper.java
(p.startsWith(GsaConfigParser.CONTAINS)) { L271: return ".*" + Pattern.quote(p.substring(GsaConfigParser.CONTAINS.length())) + ".*"; L272: } L273: L274: if (p.startsWith(GsaConfigParser.REGEXP)) { L275: return p.substring(GsaConfigParser.REGEXP.length()); L276: } L277: L278: if (p.startsWith(GsaConfigParser.REGEXP_CASE)) { L279: return p.substring(GsaConfigParser.REGEXP_CASE.length()); L280: } L281: L282: if (p.startsWith...github.com/codelibs/fess/src/main/java/org/code...Thu Oct 17 12:10:08 UTC 2024 27.2K bytes -
DocumentHelper.java
return StringUtil.EMPTY; // empty L158: } L159: L160: String subContent; L161: if (content.length() < maxWidth * 2) { L162: subContent = content; L163: } else { L164: subContent = content.substring(0, maxWidth * 2); L165: } L166: L167: final int[] spaceChars = getSpaceChars(); L168: try (final Reader reader = new StringReader(subContent)) { L169: final String originalStr = TextUtil.normalizeText(reader).init...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 12K bytes -
CrawlingInfoHelper.java
ComponentUtil.getComponent(CrawlingInfoService.class); L63: } L64: L65: public String getCanonicalSessionId(final String sessionId) { L66: final int idx = sessionId.indexOf('-'); L67: if (idx >= 0) { L68: return sessionId.substring(0, idx); L69: } L70: return sessionId; L71: } L72: L73: public synchronized void store(final String sessionId, final boolean create) { L74: CrawlingInfo crawlingInfo = create ? null : getCrawlingInfoService().getLast(sessionId);...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 10.6K bytes -
CrawlingConfigHelper.java
TimeUnit.MINUTES).build(); L72: } L73: L74: public ConfigType getConfigType(final String configId) { L75: if (configId == null || configId.length() < 2) { L76: return null; L77: } L78: final String configType = configId.substring(0, 1); L79: if (ConfigType.WEB.getTypePrefix().equals(configType)) { L80: return ConfigType.WEB; L81: } L82: if (ConfigType.FILE.getTypePrefix().equals(configType)) { L83: return ConfigType.FILE; L84: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 11.7K bytes -
fe.tld
L263: <example>${fe:join(values)}</example> L264: </function> L265: L266: <function> L267: <description> L268: Returns a string resulting from replacing in an input string all occurrences L269: of a "before" string into an "after" substring. L270: </description> L271: <name>replace</name> L272: <function-class>org.codelibs.fess.taglib.FessFunctions</function-class> L273: <function-signature>java.lang.String replace(java.lang.Object, java.lang.String, java.lang.String)</function-signature>...github.com/codelibs/fess/src/main/webapp/WEB-IN...Sat Dec 23 06:18:48 UTC 2023 10K bytes -
ViewHelper.java
st, StringUtil.EMPTY); L850: if (target.length() > textFragmentPrefixLength + textFragmentSuffixLength) { L851: list.add(new TextFragment(null, target.substring(0, textFragmentPrefixLength), L852: target.substring(target.length() - textFragmentSuffixLength), null)); L853: } L854: } L855: } L856: } L857: } L858: return list.toArray(n...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 40.2K bytes