派生自 pfms_20210718_old

RenJie_AliYun
2021-07-18 fa1afb844904d05d425fbb29fbdf087b76e8745a
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);
    }
}