master.flame.danmaku.danmaku.util.IOUtils Java Examples
The following examples show how to use
master.flame.danmaku.danmaku.util.IOUtils.
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: JSONSource.java From letv with Apache License 2.0 | 5 votes |
private void init(InputStream in) throws JSONException { if (in == null) { throw new NullPointerException("input stream cannot be null!"); } this.mInput = in; init(IOUtils.getString(this.mInput)); }
Example #2
Source File: JSONSource.java From letv with Apache License 2.0 | 4 votes |
public void release() { IOUtils.closeQuietly(this.mInput); this.mInput = null; this.mJSONArray = null; }
Example #3
Source File: AndroidFileSource.java From letv with Apache License 2.0 | 4 votes |
public void release() { IOUtils.closeQuietly(this.inStream); this.inStream = null; }