Interface URLClassPathHandle

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default java.net.URL[] getURLs​(java.lang.ClassLoader classLoader)
      Get the Class-Path URLs from the specified ClassLoader
      boolean removeURL​(java.lang.ClassLoader classLoader, java.net.URL url)
      Remove the Class-Path URL from the specified ClassLoader
      boolean supports()
      Supports or not
    • Method Detail

      • supports

        boolean supports()
        Supports or not
        Returns:
        if supports, return true, otherwise false
      • getURLs

        @Nonnull
        default java.net.URL[] getURLs​(java.lang.ClassLoader classLoader)
        Get the Class-Path URLs from the specified ClassLoader
        Parameters:
        classLoader - the specified ClassLoader
        Returns:
        the non-null array of URLs
      • removeURL

        boolean removeURL​(java.lang.ClassLoader classLoader,
                          java.net.URL url)
        Remove the Class-Path URL from the specified ClassLoader
        Parameters:
        classLoader - the specified ClassLoader
        url - the Class-Path URL
        Returns:
        if removed, return true, otherwise false