Codota Logo
RegexUtils
Code IndexAdd Codota to your IDE (free)

How to use
RegexUtils
in
org.craftercms.commons.lang

Best Java code snippets using org.craftercms.commons.lang.RegexUtils (Showing top 9 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: org.craftercms/crafter-search-batch-indexer

protected boolean isBinary(String path) {
  return RegexUtils.matchesAny(path, binaryPathPatterns);
}
origin: org.craftercms/crafter-search-batch-indexer

protected boolean isMetadata(String path) {
  return RegexUtils.matchesAny(path, metadataPathPatterns);
}
origin: org.craftercms/crafter-search-batch-indexer

protected boolean isChildBinary(String path) {
  return RegexUtils.matchesAny(path, childBinaryPathPatterns);
}
origin: org.craftercms/crafter-search-batch-indexer

protected boolean shouldIncludeProperty(String name) {
  return (CollectionUtils.isEmpty(includePropertyPatterns) || RegexUtils.matchesAny(name, includePropertyPatterns)) &&
      (CollectionUtils.isEmpty(excludePropertyPatterns) || !RegexUtils.matchesAny(name, excludePropertyPatterns));
}
origin: org.craftercms/crafter-search-batch-indexer

protected boolean include(String path) {
  return (CollectionUtils.isEmpty(includePathPatterns) || RegexUtils.matchesAny(path, includePathPatterns)) &&
      (CollectionUtils.isEmpty(excludePathPatterns) || !RegexUtils.matchesAny(path, excludePathPatterns));
}
origin: org.craftercms/crafter-core

private boolean isUrlAllowed(String url) {
  return (ArrayUtils.isEmpty(allowedUrlPatterns) || RegexUtils.matchesAny(url, allowedUrlPatterns)) &&
      (ArrayUtils.isEmpty(forbiddenUrlPatterns) || !RegexUtils.matchesAny(url, forbiddenUrlPatterns));
}
origin: org.craftercms/crafter-commons-validation

protected boolean isWhitelistedAndNotBlacklisted(String target) {
  return (ArrayUtils.isEmpty(whitelistRegexes) || RegexUtils.matchesAny(target, Arrays.asList(whitelistRegexes), matchFullInput)) &&
      (ArrayUtils.isEmpty(blacklistRegexes) || !RegexUtils.matchesAny(target, Arrays.asList(blacklistRegexes), matchFullInput));
}
origin: org.craftercms/crafter-core

@Override
public boolean accepts(Item item, List<Item> acceptedItems, List<Item> rejectedItems,
            boolean runningBeforeProcessing) {
  return ArrayUtils.isEmpty(excludeRegexes) || !RegexUtils.matchesAny(item.getUrl(), excludeRegexes);
}
origin: org.craftercms/crafter-core

@Override
public boolean accepts(Item item, List<Item> acceptedItems, List<Item> rejectedItems,
            boolean runningBeforeProcessing) {
  return ArrayUtils.isEmpty(includeRegexes) || RegexUtils.matchesAny(item.getUrl(), includeRegexes);
}
org.craftercms.commons.langRegexUtils

Most used methods

  • matchesAny

Popular in Java

  • Making http post requests using okhttp
  • startActivity (Activity)
  • getApplicationContext (Context)
  • runOnUiThread (Activity)
  • String (java.lang)
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate(i
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now