package com.doumee.lib_coremodel.util.luban; import java.io.IOException; import java.io.InputStream; /** * 通过此接口获取输入流,以兼容文件、FileProvider方式获取到的图片 *

* 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(); }