doum
6 天以前 2b287056e2f59518888d05a1bbc7e5a55fbd84d5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.doumee.lib_coremodel.util.luban;
 
import java.io.IOException;
import java.io.InputStream;
 
/**
 * 通过此接口获取输入流,以兼容文件、FileProvider方式获取到的图片
 * <p>
 * Get the input stream through this interface, and obtain the picture using compatible files and FileProvider
 */
public interface InputStreamProvider {
 
  InputStream open() throws IOException;
 
  void close();
 
  String getPath();
}