Class Util


  • @Deprecated(forRemoval=true)
    public final class Util
    extends Object
    Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • resultRpcSuccessFor

        public static <T> ListenableFuture<RpcResult<T>> resultRpcSuccessFor​(T output)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • expandQname

        public static List<SchemaPath> expandQname​(List<SchemaPath> list,
                                                   Pattern pattern)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Method filters qnames based on wildcard strings.
        Parameters:
        list - list of SchemaPaths
        pattern - matching pattern
        Returns:
        list of filtered qnames
      • wildcardToRegex

        public static String wildcardToRegex​(String wildcard)
        Deprecated, for removal: This API element is subject to removal in a future version.
        CREDIT to http://www.rgagnon.com/javadetails/java-0515.html.