接口 URLClassPathHandle
-
- 所有已知实现类:
AbstractURLClassPathHandle
,ClassicURLClassPathHandle
,ModernURLClassPathHandle
,NoOpURLClassPathHandle
public interface URLClassPathHandle
The handle interface for URL Class-Path- 从以下版本开始:
- 1.0.0
- 作者:
- Mercy
- 另请参阅:
ClassicURLClassPathHandle
,ModernURLClassPathHandle
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 default java.net.URL[]
getURLs(java.lang.ClassLoader classLoader)
Get the Class-Path URLs from the specifiedClassLoader
boolean
removeURL(java.lang.ClassLoader classLoader, java.net.URL url)
Remove the Class-PathURL
from the specifiedClassLoader
boolean
supports()
Supports or not
-
-
-
方法详细资料
-
supports
boolean supports()
Supports or not- 返回:
- if supports, return
true
, otherwisefalse
-
getURLs
@Nonnull default java.net.URL[] getURLs(java.lang.ClassLoader classLoader)
Get the Class-Path URLs from the specifiedClassLoader
- 参数:
classLoader
- the specifiedClassLoader
- 返回:
- the non-null array of
URLs
-
removeURL
boolean removeURL(java.lang.ClassLoader classLoader, java.net.URL url)
Remove the Class-PathURL
from the specifiedClassLoader
- 参数:
classLoader
- the specifiedClassLoader
url
- the Class-PathURL
- 返回:
- if removed, return
true
, otherwisefalse
-
-