FileTypeDetectionMode
Leave feedback
On this page
Inheritance: java.lang.Object, java.lang.Enum
public enum FileTypeDetectionMode extends Enum<FileTypeDetectionMode>
Defines a mode of the file type detection.
| Field | Description |
|---|---|
| Default | The file type is detected by the file extension; if the file extension isn’t recognized, the file type is detected by the file content. |
| Extension | The file type is detected only by the file extension. |
| Content | The file type is detected only by the file content. |
| Method | Description |
|---|---|
| values() | |
| valueOf(String name) |
public static final FileTypeDetectionMode Default
The file type is detected by the file extension; if the file extension isn’t recognized, the file type is detected by the file content.
public static final FileTypeDetectionMode Extension
The file type is detected only by the file extension.
public static final FileTypeDetectionMode Content
The file type is detected only by the file content.
public static FileTypeDetectionMode[] values()
Returns: com.groupdocs.parser.options.FileTypeDetectionMode[]
public static FileTypeDetectionMode valueOf(String name)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String |
Returns: FileTypeDetectionMode
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.