tigase.vhosts.filter

## Class CustomDomainFilter

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

-     public final class CustomDomainFilter
      extends Object

  Author:
    Wojtek

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | `isAllowed(JID source, JID destination, Set<Rule> rules)`
    `static boolean` | `isAllowed(JID source, JID destination, String rules)`
    `static boolean` | `isAllowed(JID source, JID destination, String[] 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 Detail

    - #### parseRules

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

      Throws:
        `ParseException`

    - #### parseRules

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

      Throws:
        `ParseException`

    - #### 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)

Copyright © 2022 "Tigase, Inc.". All rights reserved.