- * 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();
-}
diff --git a/YFDXJ/luban/src/main/java/top/zibin/luban/Luban.java b/YFDXJ/luban/src/main/java/top/zibin/luban/Luban.java
deleted file mode 100644
index 758d4ab..0000000
--- a/YFDXJ/luban/src/main/java/top/zibin/luban/Luban.java
+++ /dev/null
@@ -1,388 +0,0 @@
-package top.zibin.luban;
-
-import android.content.Context;
-import android.net.Uri;
-import android.os.AsyncTask;
-import android.os.Handler;
-import android.os.Looper;
-import android.os.Message;
-import android.text.TextUtils;
-import android.util.Log;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-@SuppressWarnings("unused")
-public class Luban implements Handler.Callback {
- private static final String TAG = "Luban";
- private static final String DEFAULT_DISK_CACHE_DIR = "luban_disk_cache";
-
- private static final int MSG_COMPRESS_SUCCESS = 0;
- private static final int MSG_COMPRESS_START = 1;
- private static final int MSG_COMPRESS_ERROR = 2;
-
- private String mTargetDir;
- private boolean focusAlpha;
- private int mLeastCompressSize;
- private OnRenameListener mRenameListener;
- private OnCompressListener mCompressListener;
- private CompressionPredicate mCompressionPredicate;
- private List true - to keep alpha channel, the compress speed will be slow. false - don't keep alpha channel, it might have a black background.
- * 提供修改压缩图片命名接口
- *
- * A functional interface (callback) that used to rename the file after compress.
- */
-public interface OnRenameListener {
-
- /**
- * 压缩前调用该方法用于修改压缩后文件名
- *
- * Call before compression begins.
- *
- * @param filePath 传入文件路径/ file path
- * @return 返回重命名后的字符串/ file name
- */
- String rename(String filePath);
-}
diff --git a/YFDXJ/luban/src/main/res/values/strings.xml b/YFDXJ/luban/src/main/res/values/strings.xml
deleted file mode 100644
index d94d21e..0000000
--- a/YFDXJ/luban/src/main/res/values/strings.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-