java.lang.Object
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
ConstructorDescriptionOverloaded constructor forQResource(java.lang.String, io.qt.core.QLocale)
Overloaded constructor forQResource(java.lang.String, io.qt.core.QLocale)
withlocale = new io.qt.core.QLocale()
. -
Method Summary
Modifier and TypeMethodDescriptionfinal String
static void
addClassPath
(String path) Addspath
to the set of classpaths in which QtJambi should search for resources.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 = (String)null
.static boolean
registerResource
(String rccFilename, String resourceRoot) static boolean
registerResource
(ByteBuffer rccData) Overloaded function forregisterResource(java.nio.ByteBuffer, java.lang.String)
withresourceRoot = (String)null
.static boolean
registerResource
(ByteBuffer rccData, String resourceRoot) static void
removeClassPath
(String path) Removespath
from the set of classpaths in which QtJambi searches for resources.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 = (String)null
.static boolean
unregisterResource
(String rccFilename, String resourceRoot) static boolean
unregisterResource
(ByteBuffer rccData) Overloaded function forunregisterResource(java.nio.ByteBuffer, java.lang.String)
withresourceRoot = (String)null
.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 = (String)null
locale = new io.qt.core.QLocale()
-
QResource
-
-
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 = (String)null
. -
registerResource
-
registerResource
Overloaded function for
registerResource(java.nio.ByteBuffer, java.lang.String)
withresourceRoot = (String)null
. -
registerResource
-
unregisterResource
Overloaded function for
unregisterResource(java.lang.String, java.lang.String)
withresourceRoot = (String)null
. -
unregisterResource
-
unregisterResource
Overloaded function for
unregisterResource(java.nio.ByteBuffer, java.lang.String)
withresourceRoot = (String)null
. -
unregisterResource
-
addClassPath
Addspath
to the set of classpaths in which QtJambi should search for resources. -
removeClassPath
Removespath
from the set of classpaths in which QtJambi searches for resources.
-