派生自 pfms_20210718_old

Jayden
2021-07-18 7df57dc07b6edd9446f5f53ee0a8ad6d7e6363a5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package cn.org.xinke;
 
import org.apache.tika.Tika;
import org.junit.Ignore;
 
import java.io.File;
import java.io.IOException;
 
/**
 * Created by Administrator on 2019-01-07 下午 2:22.
 */
@Ignore
public class Test {
 
    @org.junit.Test
    public void test() throws IOException {
        Tika tika = new Tika();
        String detect = tika.detect(new File("C:\\EasyFS\\2018\\12\\26\\a0e0bffa077b4218a0739433439521e2.jpg"));
        System.out.println(detect);
    }
}