master.flame.danmaku.danmaku.parser.android.AndroidFileSource Java Examples
The following examples show how to use
master.flame.danmaku.danmaku.parser.android.AndroidFileSource.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: BiliDanmakuLoader.java From letv with Apache License 2.0 | 5 votes |
public void load(String uri) throws IllegalDataException { try { this.dataSource = new AndroidFileSource(uri); } catch (Throwable e) { throw new IllegalDataException(e); } }
Example #2
Source File: BiliDanmakuLoader.java From letv with Apache License 2.0 | 4 votes |
public void load(InputStream stream) { this.dataSource = new AndroidFileSource(stream); }
Example #3
Source File: BiliDanmakuLoader.java From letv with Apache License 2.0 | 4 votes |
public AndroidFileSource getDataSource() { return this.dataSource; }