java.lang.Object
io.qt.QtObject
io.qt.gui.QUtiMimeConverter
- All Implemented Interfaces:
QtObjectInterface
Converts between a MIME type and a Uniform Type Identifier (UTI) format
Java wrapper for Qt class QUtiMimeConverter
- Since:
- This class was introduced in Qt 6.5.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
QFlags
type for enumQUtiMimeConverter.HandlerScopeFlag
static enum
Java wrapper for Qt enumQUtiMimeConverter::HandlerScopeFlag
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
canConvert
(String mime, String uti) abstract List<QByteArray>
convertFromMime
(String mime, Object data, String uti) abstract Object
convertToMime
(String mime, Collection<? extends QByteArray> data, String uti) int
abstract String
mimeForUti
(String uti) scope()
SeeQUtiMimeConverter::
scope()const abstract String
utiForMime
(String mime) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QUtiMimeConverter
public QUtiMimeConverter()
-
-
Method Details
-
canConvert
- Parameters:
mime
-uti
-- Returns:
-
scope
See
QUtiMimeConverter::
scope()const - Returns:
-
convertFromMime
@QtUninvokable public abstract List<QByteArray> convertFromMime(String mime, Object data, String uti) - Parameters:
mime
-data
-uti
-- Returns:
-
convertToMime
@QtUninvokable public abstract Object convertToMime(String mime, Collection<? extends QByteArray> data, String uti) - Parameters:
mime
-data
-uti
-- Returns:
-
count
- Parameters:
mimeData
-- Returns:
-
mimeForUti
- Parameters:
uti
-- Returns:
-
utiForMime
- Parameters:
mime
-- Returns:
-