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

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

Copyright © 2004–2019 "Tigase, Inc.". All rights reserved.