- All Implemented Interfaces:
QtObjectInterface
,Cloneable
OS-independent API to retrieve information about file system entries
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 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 QDateTime
fileTime
(QFileDevice.FileTime time, QTimeZone tz) 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
final QDateTime
lastRead()
final QDateTime
final boolean
final QDateTime
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 String
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
-
birthTime
See
QFileInfo::
birthTime(QTimeZone)const This function was introduced in Qt 6.6.
-
bundleName
-
caching
-
canonicalFilePath
-
canonicalPath
-
completeBaseName
-
completeSuffix
-
dir
-
exists
-
fileName
-
filePath
-
fileTime
-
fileTime
See
QFileInfo::
fileTime(QFile::FileTime, QTimeZone)const This function was introduced in Qt 6.6.
-
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
-
lastModified
See
QFileInfo::
lastModified(QTimeZone)const This function was introduced in Qt 6.6.
-
lastRead
-
lastRead
See
QFileInfo::
lastRead(QTimeZone)const This function was introduced in Qt 6.6.
-
makeAbsolute
-
metadataChangeTime
-
metadataChangeTime
See
QFileInfo::
metadataChangeTime(QTimeZone)const This function was introduced in Qt 6.6.
-
assign
-
equals
-
owner
-
ownerId
-
path
-
permission
-
permissions
-
readSymLink
See
QFileInfo::
readSymLink()const This function was introduced in Qt 6.6.
-
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)
.
-