|
@@ -14,6 +14,7 @@ import org.bytedeco.javacv.Frame;
|
|
import org.bytedeco.javacv.Java2DFrameConverter;
|
|
import org.bytedeco.javacv.Java2DFrameConverter;
|
|
import org.bytedeco.javacv.OpenCVFrameConverter;
|
|
import org.bytedeco.javacv.OpenCVFrameConverter;
|
|
import org.slf4j.Logger;
|
|
import org.slf4j.Logger;
|
|
|
|
+import org.slf4j.LoggerFactory;
|
|
import org.springframework.util.ResourceUtils;
|
|
import org.springframework.util.ResourceUtils;
|
|
import sun.misc.BASE64Decoder;
|
|
import sun.misc.BASE64Decoder;
|
|
|
|
|
|
@@ -25,16 +26,14 @@ import java.net.URLDecoder;
|
|
import java.nio.ByteBuffer;
|
|
import java.nio.ByteBuffer;
|
|
import java.nio.MappedByteBuffer;
|
|
import java.nio.MappedByteBuffer;
|
|
import java.nio.channels.FileChannel;
|
|
import java.nio.channels.FileChannel;
|
|
-import java.nio.charset.Charset;
|
|
|
|
import java.nio.charset.StandardCharsets;
|
|
import java.nio.charset.StandardCharsets;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
import java.util.*;
|
|
import java.util.*;
|
|
import java.util.stream.Collectors;
|
|
import java.util.stream.Collectors;
|
|
-import java.util.zip.ZipException;
|
|
|
|
|
|
|
|
public class FileUtils {
|
|
public class FileUtils {
|
|
|
|
|
|
- private static Logger log = null;
|
|
|
|
|
|
+ private static Logger log = LoggerFactory.getLogger(FileUtils.class);
|
|
|
|
|
|
public static byte[] getImageByte(String base64Data){
|
|
public static byte[] getImageByte(String base64Data){
|
|
byte[] bt = null;
|
|
byte[] bt = null;
|