Package | Description |
---|---|
org.apache.pdfbox.util.filetypedetector |
Modifier and Type | Method and Description |
---|---|
static FileType |
FileTypeDetector.detectFileType(BufferedInputStream inputStream)
Examines the a file's first bytes and estimates the file's type.
|
static FileType |
FileTypeDetector.detectFileType(byte[] fileBytes) |
static FileType |
FileType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileType[] |
FileType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.