Package google.registry.bsa.persistence
Class BsaLabelUtils
java.lang.Object
google.registry.bsa.persistence.BsaLabelUtils
Helpers for
BsaLabel
.-
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.common.collect.ImmutableSet
<String> getBlockedLabels
(com.google.common.collect.ImmutableCollection<String> domainLabels) Returns the elements indomainLabels
that are blocked by BSA.static boolean
isLabelBlocked
(String domainLabel) Checks if thedomainLabel
(the leading `part` of a domain name) is blocked by BSA.
-
Method Details
-
isLabelBlocked
Checks if thedomainLabel
(the leading `part` of a domain name) is blocked by BSA. -
getBlockedLabels
public static com.google.common.collect.ImmutableSet<String> getBlockedLabels(com.google.common.collect.ImmutableCollection<String> domainLabels) Returns the elements indomainLabels
that are blocked by BSA.
-