Package tigase.vhosts.filter

# Class CustomDomainFilter

java.lang.Object
tigase.vhosts.filter.CustomDomainFilter

public final class CustomDomainFilter extends Object

Author:
  Wojtek

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static boolean`
  `isAllowed(JID source, JID destination, String rules)`
  `static boolean`
  `isAllowed(JID source, JID destination, String[] rules)`
  `static boolean`
  `isAllowed(JID source, JID destination, Set<Rule> rules)`
  `static Set<Rule>`
  `parseRules(String rules)`
  `static Set<Rule>`
  `parseRules(String[] rules)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### isAllowed

    public static boolean isAllowed(JID source, JID destination, String rules)

  - ### isAllowed

    public static boolean isAllowed(JID source, JID destination, String[] rules)

  - ### isAllowed

    public static boolean isAllowed(JID source, JID destination, Set<Rule> rules)

  - ### parseRules

    public static Set<Rule> parseRules(String[] rules) throws ParseException
    Throws:
      `ParseException`

  - ### parseRules

    public static Set<Rule> parseRules(String rules) throws ParseException
    Throws:
      `ParseException`