BBjFileSystem::getMimeType
Description
In BBj 17.00 and higher, this method returns the detected MIME type for the specified filename.
Syntax
|
Return Value |
Method |
|---|---|
|
string |
getMimeType(string filename) |
Parameters
|
Variable |
Description |
|---|---|
|
filename |
Specifies the name of the file. |
Return Value
Returns the detected MIME type for the specified filename.
Remarks
The MIME type is detected using Apache Tika.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.