public interface ILoader
| 限定符和类型 | 方法和说明 |
|---|---|
IDataSource<?> |
getDataSource() |
void |
load(java.io.InputStream in) |
void |
load(java.lang.String uri) |
IDataSource<?> getDataSource()
void load(java.lang.String uri) throws IllegalDataException
uri - 弹幕文件地址(http:// file://)IllegalDataExceptionvoid load(java.io.InputStream in) throws IllegalDataException
in - stream from Internet or local fileIllegalDataException