Package | Description |
---|---|
cn.hutool.core.io.resource |
针对ClassPath和文件中资源读取的封装,主要入口为工具类ResourceUtil
|
Modifier and Type | Method and Description |
---|---|
InputStream |
UrlResource.getStream() |
InputStream |
FileResource.getStream() |
static InputStream |
ResourceUtil.getStream(String resource)
从ClassPath资源中获取
InputStream |
Copyright © 2024. All rights reserved.