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

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

Best Java code snippets using org.craftercms.commons.lang.RegexUtils.matchesAny (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.langRegexUtilsmatchesAny

Popular methods of RegexUtils

    Popular in Java

    • Finding current android device location
    • getSharedPreferences (Context)
    • orElseThrow (Optional)
    • getContentResolver (Context)
    • VirtualMachine (com.sun.tools.attach)
      A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
    • HashMap (java.util)
      HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
    • ResourceBundle (java.util)
      Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
    • CountDownLatch (java.util.concurrent)
      A synchronization aid that allows one or more threads to wait until a set of operations being perfor
    • Table (org.hibernate.mapping)
      A relational table
    • Scheduler (org.quartz)
      This is the main interface of a Quartz Scheduler. A Scheduler maintains a registery of org.quartz
    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