java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QResource
- All Implemented Interfaces:
QtObjectInterface
public class QResource extends QtObject
Interface for reading directly from resources
Java wrapper for Qt class QResource
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QResource.Compression
Java wrapper for Qt enum QResource::Compression -
Constructor Summary
Constructors Modifier Constructor Description QResource()
Overloaded constructor forQResource(java.lang.String, io.qt.core.QLocale)
protected
QResource(QtObject.QPrivateConstructor p)
Constructor for internal use only.QResource(String file)
Overloaded constructor forQResource(java.lang.String, io.qt.core.QLocale)
withlocale = new io.qt.core.QLocale()
.QResource(String file, QLocale locale)
-
Method Summary
-
Constructor Details
-
QResource
Overloaded constructor for
QResource(java.lang.String, io.qt.core.QLocale)
withlocale = new io.qt.core.QLocale()
. -
QResource
public QResource()Overloaded constructor for
QResource(java.lang.String, io.qt.core.QLocale)
with:
file = ""
locale = new io.qt.core.QLocale()
-
QResource
-
QResource
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
absoluteFilePath
-
children
-
compressionAlgorithm
-
data
-
fileName
-
isCompressed
Deprecated.UsecompressionAlgorithm()
instead -
isDir
-
isFile
-
isValid
-
lastModified
-
locale
-
setFileName
-
setLocale
-
size
-
uncompressedData
-
uncompressedSize
-
addSearchPath
Deprecated. -
registerResource
Overloaded function for
registerResource(java.lang.String, java.lang.String)
withresourceRoot = ""
. -
registerResource
-
registerResource
Overloaded function for
registerResource(java.nio.ByteBuffer, java.lang.String)
withresourceRoot = ""
. -
registerResource
-
searchPaths
Deprecated.UseQDir.searchPaths(java.lang.String)
instead -
unregisterResource
Overloaded function for
unregisterResource(java.lang.String, java.lang.String)
withresourceRoot = ""
. -
unregisterResource
-
unregisterResource
Overloaded function for
unregisterResource(java.nio.ByteBuffer, java.lang.String)
withresourceRoot = ""
. -
unregisterResource
-