Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Butcher (0.04 sec)

  1. JvmUtil.java

    getJavaVersion(); L31: return Arrays.stream(values).map(s -> { L32: final Matcher matcher = VERSION_PREFIX_PATTERN.matcher(s); L33: if (!matcher.matches()) { L34: return s; L35: } L36: final int v = Integer.parseInt(matcher.group(1)); L37: if ("-".equals(matcher.group(2))) { L38: if (version >= v) { L39: return matcher.group(3); L40: } L41: } else if (v == version) { L42: ...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      2.1K bytes
  2. KuromojiCSVUtil.java

    String[result.size()]); L93: } L94: L95: private static String unQuoteUnEscape(final String original) { L96: String result = original; L97: L98: // Unquote L99: if (result.indexOf('\"') >= 0) { L100: final Matcher m = QUOTE_REPLACE_PATTERN.matcher(original); L101: if (m.matches()) { L102: result = m.group(1); L103: } L104: L105: // Unescape L106: if (result.indexOf(ESCAPED_QUOTE) >= 0) { L107: result...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      3.9K bytes
  3. PrunedTag.java

    [^\\]]+\\])?(\\.[\\w\\-]+)?(#[\\w\\-]+)?"); L113: final Matcher matcher = pattern.matcher(v.trim()); L114: if (matcher.matches()) { L115: final PrunedTag tag = new PrunedTag(matcher.group(1)); L116: if (matcher.group(2) != null) { L117: final String attrPair = matcher.group(2).substring(1, matcher.group(2).length() - 1); L118: final Matcher equalMatcher = Pattern.compile("([\\w\\-]+)=(\\S+)").matcher(attrPair);...
    github.com/codelibs/fess/src/main/java/org/code...
    Fri Oct 11 21:11:58 UTC 2024
      4.8K bytes
  4. PathMapping.java

    regexPattern = Pattern.compile(getRegex()); L62: } L63: final Matcher matcher = regexPattern.matcher(input); L64: if (matcher.find()) { L65: if (pathMapperFunc == null) { L66: final String replacement = StringUtil.isNotBlank(getReplacement()) ? getReplacement() : StringUtil.EMPTY; L67: pathMapperFunc = pathMappingHelper.createPathMatcher(matcher, replacement); L68: } L69: try { L70: return p...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      3.3K bytes
  5. ResourceUtil.java

    final Pattern pattern = Pattern.compile("(\\$\\{([\\w\\.]+)\\})"); L207: final Matcher matcher = pattern.matcher(value); L208: while (matcher.find()) { L209: final String key = matcher.group(2); L210: String replacement = System.getProperty(key); L211: if (replacement == null) { L212: replacement = matcher.group(1); L213: } L214: matcher.appendReplacement(tunedText, replacement.replace("\\", "\\\\").replace("$", "\\$"));...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Oct 24 08:52:32 UTC 2024
      7.5K bytes
  6. PathMappingHelper.java

    (cachedPathMappingList == null) { L153: init(); L154: } L155: } L156: } L157: return replaceUrl(cachedPathMappingList, url); L158: } L159: L160: public BiFunction<String, Matcher, String> createPathMatcher(final Matcher matcher, final String replacement) { // for PathMapping L161: if (FUNCTION_ENCODEURL_MATCHER.equals(replacement)) { L162: return (u, m) -> DocumentUtil.encodeUrl(u); L163: } L164: if (!replacement....
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      7.6K bytes
  7. ParameterUtil.java

    final String key = line.substring(0, pos).trim(); L64: if (pos < line.length()) { L65: String data = line.substring(pos + 1).trim(); L66: if (properyPattern.matcher(key).matches() && data.startsWith(CIPHER_PREFIX)) { L67: data = cipher.decrypt(data.substring(CIPHER_PREFIX.length())); L68: } L69: paramMap.put(key, data); L70:...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      6.5K bytes
  8. DictionaryCreator.java

    protected String encodePath(final String path) { L46: return Base64.getUrlEncoder().encodeToString(path.getBytes(Constants.CHARSET_UTF_8)); L47: } L48: L49: protected boolean isTarget(final String path) { L50: return pattern.matcher(path).find(); L51: } L52: L53: protected abstract DictionaryFile<? extends DictionaryItem> newDictionaryFile(String id, String path, Date timestamp); L54: L55: public void setDictionaryManager(final DictionaryManager dictionaryManager) {...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      1.8K bytes
  9. ExecJob.java

    List<String> cmdList, final String regex) { L161: if (StringUtil.isNotBlank(regex)) { L162: final Pattern pattern = Pattern.compile(regex); L163: System.getProperties().keySet().stream().filter(k -> k != null && pattern.matcher(k.toString()).matches()) L164: .forEach(k -> addSystemProperty(cmdList, k.toString(), null, null)); L165: } L166: } L167: L168: protected void deleteTempDir(final File ownTmpDir) { L169: if (ownTmpDir == null)...
    github.com/codelibs/fess/src/main/java/org/code...
    Fri Oct 11 21:11:58 UTC 2024
      7.7K bytes
  10. RelatedContentHelper.java

    L99: if (StringUtil.isNotBlank(content)) { L100: contentList.add(content); L101: } L102: for (final Pair<Pattern, String> regexData : pair.getSecond()) { L103: if (regexData.getFirst().matcher(query).matches()) { L104: contentList.add(regexData.getSecond().replace(queryPlaceHolder, query)); L105: } L106: } L107: return contentList.toArray(new String[contentList.size()]); L108: ...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      4.8K bytes
Back to top