public final class FileTypeDetector extends Object
| Modifier and Type | Method and Description |
|---|---|
static FileType |
detectFileType(File file)
Examines the a file's first bytes and estimates the file's type.
|
public static FileType detectFileType(File file) throws IOException
file - to examine.IOException - if an IO error occurs.Copyright © 2019 sejda. All rights reserved.