public interface ResourceProvider
| 限定符和类型 | 方法和说明 |
|---|---|
LoadableResource |
getResource(String name)
Retrieves the resource with this name.
|
Collection<LoadableResource> |
getResources(String prefix,
String[] suffixes)
Retrieve all resources whose name begins with this prefix and ends with any of these suffixes.
|
LoadableResource getResource(String name)
name - The name of the resource.null if not found.Collection<LoadableResource> getResources(String prefix, String[] suffixes)
prefix - The prefix.suffixes - The suffixes.Copyright © 2022. All rights reserved.