public class UploadFileHeader extends Object
根据文件头处理工具类
UploadFileHeader()
static String
bytesToHexString(byte[] bytes)
getThreeBytes(String filePath)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public UploadFileHeader()
public static String bytesToHexString(byte[] bytes)
上传文件的文件头 byte[] 转 String
bytes
public static String getThreeBytes(String filePath)
获取文件类型
filePath
Copyright © 2016. All rights reserved.