java.lang.Object
io.qt.QtObject
io.qt.core.QMimeDatabase
- All Implemented Interfaces:
QtObjectInterface
Maintains a database of MIME types
Java wrapper for Qt class QMimeDatabase
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal QMimeType
mimeTypeForData
(byte [] data) Overloaded function formimeTypeForData(io.qt.core.QByteArray)
.final QMimeType
mimeTypeForData
(QByteArray data) final QMimeType
mimeTypeForData
(QIODevice device) final QMimeType
mimeTypeForFile
(QFileInfo fileInfo) Overloaded function formimeTypeForFile(io.qt.core.QFileInfo, io.qt.core.QMimeDatabase.MatchMode)
withmode = io.qt.core.QMimeDatabase.MatchMode.MatchDefault
.final QMimeType
mimeTypeForFile
(QFileInfo fileInfo, QMimeDatabase.MatchMode mode) final QMimeType
mimeTypeForFile
(String fileName) Overloaded function formimeTypeForFile(java.lang.String, io.qt.core.QMimeDatabase.MatchMode)
withmode = io.qt.core.QMimeDatabase.MatchMode.MatchDefault
.final QMimeType
mimeTypeForFile
(String fileName, QMimeDatabase.MatchMode mode) final QMimeType
mimeTypeForFileNameAndData
(String fileName, byte [] data) Overloaded function formimeTypeForFileNameAndData(java.lang.String, io.qt.core.QByteArray)
.final QMimeType
mimeTypeForFileNameAndData
(String fileName, QByteArray data) final QMimeType
mimeTypeForFileNameAndData
(String fileName, QIODevice device) final QMimeType
mimeTypeForName
(String nameOrAlias) final QMimeType
mimeTypeForUrl
(QUrl url) final QMimeType
mimeTypeForUrl
(String url) Overloaded function formimeTypeForUrl(io.qt.core.QUrl)
.mimeTypesForFileName
(String fileName) final String
suffixForFileName
(String fileName) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QMimeDatabase
public QMimeDatabase()
-
-
Method Details
-
allMimeTypes
-
mimeTypeForData
-
mimeTypeForData
-
mimeTypeForFile
@QtUninvokable public final QMimeType mimeTypeForFile(QFileInfo fileInfo, QMimeDatabase.MatchMode mode) -
mimeTypeForFile
@QtUninvokable public final QMimeType mimeTypeForFile(String fileName, QMimeDatabase.MatchMode mode) -
mimeTypeForFileNameAndData
-
mimeTypeForFileNameAndData
-
mimeTypeForName
-
mimeTypeForUrl
-
mimeTypesForFileName
-
suffixForFileName
-
mimeTypeForData
Overloaded function for
mimeTypeForData(io.qt.core.QByteArray)
. -
mimeTypeForFile
Overloaded function for
mimeTypeForFile(io.qt.core.QFileInfo, io.qt.core.QMimeDatabase.MatchMode)
withmode = io.qt.core.QMimeDatabase.MatchMode.MatchDefault
. -
mimeTypeForFile
Overloaded function for
mimeTypeForFile(java.lang.String, io.qt.core.QMimeDatabase.MatchMode)
withmode = io.qt.core.QMimeDatabase.MatchMode.MatchDefault
. -
mimeTypeForFileNameAndData
Overloaded function for
mimeTypeForFileNameAndData(java.lang.String, io.qt.core.QByteArray)
. -
mimeTypeForUrl
Overloaded function for
mimeTypeForUrl(io.qt.core.QUrl)
.
-