Package | Description |
---|---|
cn.hutool.core.io.resource |
针对ClassPath和文件中资源读取的封装,主要入口为工具类ResourceUtil
|
Modifier and Type | Method and Description |
---|---|
static EnumerationIter<URL> |
ResourceUtil.getResourceIter(String resource)
获取指定路径下的资源Iterator
路径格式必须为目录格式,用/分隔,例如: config/a spring/xml |
static EnumerationIter<URL> |
ResourceUtil.getResourceIter(String resource,
ClassLoader classLoader)
获取指定路径下的资源Iterator
路径格式必须为目录格式,用/分隔,例如: config/a spring/xml |
Copyright © 2024. All rights reserved.