java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QResource
- All Implemented Interfaces:
QtObjectInterface
Interface for reading directly from resources
Java wrapper for Qt class QResource
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionOverloaded constructor forQResource(java.lang.String, io.qt.core.QLocale)
protected
Constructor for internal use only.Overloaded constructor forQResource(java.lang.String, io.qt.core.QLocale)
withlocale = new io.qt.core.QLocale()
. -
Method Summary
Modifier and TypeMethodDescriptionfinal String
protected final QStringList
children()
final QResource.Compression
final ByteBuffer
data()
final String
fileName()
protected final boolean
isDir()
protected final boolean
isFile()
final boolean
isValid()
final QDateTime
final QLocale
locale()
static boolean
registerResource
(String rccFilename) Overloaded function forregisterResource(java.lang.String, java.lang.String)
withresourceRoot = ""
.static boolean
registerResource
(String rccFilename, String resourceRoot) static boolean
registerResource
(ByteBuffer rccData) Overloaded function forregisterResource(java.nio.ByteBuffer, java.lang.String)
withresourceRoot = ""
.static boolean
registerResource
(ByteBuffer rccData, String resourceRoot) final void
setFileName
(String file) final void
final long
size()
final QByteArray
final long
static boolean
unregisterResource
(String rccFilename) Overloaded function forunregisterResource(java.lang.String, java.lang.String)
withresourceRoot = ""
.static boolean
unregisterResource
(String rccFilename, String resourceRoot) static boolean
unregisterResource
(ByteBuffer rccData) Overloaded function forunregisterResource(java.nio.ByteBuffer, java.lang.String)
withresourceRoot = ""
.static boolean
unregisterResource
(ByteBuffer rccData, String resourceRoot) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
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
-
isDir
-
isFile
-
isValid
-
lastModified
-
locale
-
setFileName
-
setLocale
-
size
-
uncompressedData
-
uncompressedSize
-
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
-
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
-