java.lang.Object
io.qt.QtObject
io.qt.core.QFileInfo
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
System-independent file information
Java wrapper for Qt class QFileInfo
-
Constructor Summary
ConstructorDescriptionQFileInfo
(QFileDevice file) Overloaded constructor forQFileInfo(io.qt.core.QDir, java.lang.String)
. -
Method Summary
Modifier and TypeMethodDescriptionfinal QDir
final String
final String
final void
final String
baseName()
final QDateTime
final String
final boolean
caching()
final String
final String
clone()
Creates and returns a copy of this object.final String
final String
final QDir
dir()
final boolean
boolean
final boolean
exists()
static boolean
final String
fileName()
final String
filePath()
final QDateTime
fileTime
(QFileDevice.FileTime time) final String
group()
final int
groupId()
int
hashCode()
Returns the objects's hash code computed byqHash(QFileInfo)
.final boolean
final boolean
isAlias()
final boolean
isBundle()
final boolean
isDir()
final boolean
final boolean
isFile()
final boolean
isHidden()
final boolean
final boolean
final boolean
final boolean
final boolean
isRoot()
final boolean
final boolean
final boolean
final boolean
final String
final QDateTime
final QDateTime
lastRead()
final boolean
final QDateTime
final String
owner()
final int
ownerId()
final String
path()
final boolean
permission
(QFileDevice.Permission ... permissions) Overloaded function forpermission(io.qt.core.QFileDevice.Permissions)
.final boolean
permission
(QFileDevice.Permissions permissions) final QFileDevice.Permissions
final void
refresh()
final void
setCaching
(boolean on) final void
final void
setFile
(QFileDevice file) final void
final void
Overloaded function forsetFile(io.qt.core.QDir, java.lang.String)
.final long
size()
final void
stat()
final String
suffix()
final void
final String
toString()
Seeoperator<<(QDebug,
QFileInfo) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QFileInfo
public QFileInfo() -
QFileInfo
-
QFileInfo
-
QFileInfo
-
QFileInfo
-
QFileInfo
Overloaded constructor for
QFileInfo(io.qt.core.QDir, java.lang.String)
.
-
-
Method Details
-
absoluteDir
-
absoluteFilePath
-
absolutePath
-
baseName
-
birthTime
-
bundleName
-
caching
-
canonicalFilePath
-
canonicalPath
-
completeBaseName
-
completeSuffix
-
dir
-
exists
-
fileName
-
filePath
-
fileTime
-
group
-
groupId
-
isAbsolute
-
isAlias
This function was introduced in Qt 6.4.
-
isBundle
-
isDir
-
isExecutable
-
isFile
-
isHidden
-
isJunction
-
isNativePath
-
isReadable
-
isRelative
-
isRoot
-
isShortcut
-
isSymLink
-
isSymbolicLink
-
isWritable
-
junctionTarget
See
QFileInfo::
junctionTarget()const This function was introduced in Qt 6.2.
-
lastModified
-
lastRead
-
makeAbsolute
-
metadataChangeTime
-
assign
-
equals
-
owner
-
ownerId
-
path
-
permission
-
permissions
-
refresh
-
setCaching
-
setFile
-
setFile
-
setFile
-
size
-
stat
This function was introduced in Qt 6.0.
-
suffix
-
swap
-
symLinkTarget
-
exists
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QFileInfo)
. -
toString
See
operator<<(QDebug,
QFileInfo) -
clone
Creates and returns a copy of this object.
-
permission
Overloaded function for
permission(io.qt.core.QFileDevice.Permissions)
. -
setFile
Overloaded function for
setFile(io.qt.core.QDir, java.lang.String)
.
-