public abstract class FileTypeUtil extends Object
| 构造器和说明 |
|---|
FileTypeUtil() |
public static FileType getType(File file) throws FileNotFoundException, IOException
file - the fileFileNotFoundException - if the file not found throw this exceptionIOException - if read the file has exception throw thispublic static FileType getType(InputStream is) throws UtilException
is - the input streamUtilException - if read the file has exception throw thisCopyright © 2017. All rights reserved.