接口 URLClassPathHandle

    • 方法概要

      所有方法 实例方法 抽象方法 默认方法 
      修饰符和类型 方法 说明
      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
    • 方法详细资料

      • supports

        boolean supports()
        Supports or not
        返回:
        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
        参数:
        classLoader - the specified ClassLoader
        返回:
        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
        参数:
        classLoader - the specified ClassLoader
        url - the Class-Path URL
        返回:
        if removed, return true, otherwise false