Class ResourceUtils

    • Method Detail

      • isValidResourceURI

        @Deprecated
        public static boolean isValidResourceURI​(URI resourceURI)
        Deprecated.
        Returns true if the specified resource URI is valid.
        Parameters:
        resourceURI - The resource URI. Must not be null.
        Returns:
        true if the resource URI is valid, false if the URI is not absolute or has a fragment.
      • isLegalResourceURI

        public static boolean isLegalResourceURI​(URI resourceURI)
        Returns true if the specified resource URI is legal.
        Parameters:
        resourceURI - The resource URI, null if not specified.
        Returns:
        true if the resource URI is legal or null, false if the URI is not absolute or has a fragment.
      • parseResourceURIs

        public static List<URIparseResourceURIs​(List<String> stringList)
                                           throws ParseException
        Parses a list of resource URIs from the specified string list.
        Parameters:
        stringList - The string list, null if not specified.
        Returns:
        The resource URIs, null if not specified.
        Throws:
        ParseException - If parsing failed.