java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QMimeDatabase
- All Implemented Interfaces:
QtObjectInterface
public class QMimeDatabase extends QtObject
Maintains a database of MIME types
Java wrapper for Qt class QMimeDatabase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QMimeDatabase.MatchMode
Java wrapper for Qt enum QMimeDatabase::MatchMode -
Constructor Summary
Constructors Modifier Constructor Description QMimeDatabase()
protected
QMimeDatabase(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
-
Constructor Details
-
QMimeDatabase
public QMimeDatabase() -
QMimeDatabase
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
allMimeTypes
-
mimeTypeForData
-
mimeTypeForData
-
mimeTypeForFile
Overloaded function for
mimeTypeForFile(io.qt.core.QFileInfo, io.qt.core.QMimeDatabase.MatchMode)
withmode = io.qt.core.QMimeDatabase.MatchMode.MatchDefault
. -
mimeTypeForFile
@QtUninvokable public final QMimeType mimeTypeForFile(QFileInfo fileInfo, QMimeDatabase.MatchMode mode) -
mimeTypeForFile
Overloaded function for
mimeTypeForFile(java.lang.String, io.qt.core.QMimeDatabase.MatchMode)
withmode = io.qt.core.QMimeDatabase.MatchMode.MatchDefault
. -
mimeTypeForFile
@QtUninvokable public final QMimeType mimeTypeForFile(String fileName, QMimeDatabase.MatchMode mode) -
mimeTypeForFileNameAndData
@QtUninvokable public final QMimeType mimeTypeForFileNameAndData(String fileName, QIODevice device) -
mimeTypeForFileNameAndData
-
mimeTypeForName
-
mimeTypeForUrl
-
mimeTypesForFileName
-
suffixForFileName
-