public class PrefixUtil extends Object
Constructor and Description |
---|
PrefixUtil() |
Modifier and Type | Method and Description |
---|---|
static SimpleString |
getAddress(SimpleString address,
Map<SimpleString,RoutingType> prefixes) |
static Pair<SimpleString,EnumSet<RoutingType>> |
getAddressAndRoutingTypes(SimpleString address,
EnumSet<RoutingType> defaultRoutingTypes,
Map<SimpleString,RoutingType> prefixes) |
static SimpleString |
getPrefix(SimpleString address,
Map<SimpleString,RoutingType> prefixes) |
static SimpleString |
removeAddress(SimpleString string,
SimpleString prefix) |
static SimpleString |
removePrefix(SimpleString string,
SimpleString prefix) |
public static Pair<SimpleString,EnumSet<RoutingType>> getAddressAndRoutingTypes(SimpleString address, EnumSet<RoutingType> defaultRoutingTypes, Map<SimpleString,RoutingType> prefixes)
public static SimpleString getAddress(SimpleString address, Map<SimpleString,RoutingType> prefixes)
public static SimpleString getPrefix(SimpleString address, Map<SimpleString,RoutingType> prefixes)
public static SimpleString removePrefix(SimpleString string, SimpleString prefix)
public static SimpleString removeAddress(SimpleString string, SimpleString prefix)
Copyright © 2019 JBoss by Red Hat. All rights reserved.