public class AliyunVideoResource extends AliyunInputResource
| 限定符 | 构造器和说明 |
|---|---|
protected |
AliyunVideoResource()
反序列化使用
|
|
AliyunVideoResource(URL url)
阿里云盘视频资源访问类
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getDescription() |
InputStream |
getInputStream()
获取m3u8视频文件资源
|
contentLength, exists, getConnection, getFilename, getHttpHeaders, getHttpStatus, getResponseEntity, getTimeoutStampSeconds, getURL, lastModifiedprotected AliyunVideoResource()
public AliyunVideoResource(URL url) throws IOException
url - 视频资源路径IOException - 获取连接时出现的异常@NonNull public InputStream getInputStream()
getInputStream 在接口中 org.springframework.core.io.InputStreamSourcegetInputStream 在类中 AliyunInputResource@NonNull public String getDescription()
getDescription 在接口中 org.springframework.core.io.ResourcegetDescription 在类中 AliyunInputResourceCopyright © 2021. All rights reserved.