mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
add type
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package cn.hutool.core.io;
|
||||
|
||||
import cn.hutool.core.codec.HexUtil;
|
||||
import cn.hutool.core.lang.Console;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Ignore;
|
||||
@@ -84,4 +85,10 @@ public class FileTypeUtilTest {
|
||||
final String type = FileTypeUtil.getType(inputStream);
|
||||
Console.log(type);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getHexTest() {
|
||||
final String id3 = HexUtil.encodeHexStr("8BPS");
|
||||
Console.log(id3);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user