java.lang.Object
io.qt.QtObject
io.qt.core.QFileInfo
- 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
-
bundleName
-
caching
-
canonicalFilePath
-
canonicalPath
-
completeBaseName
-
completeSuffix
-
dir
-
exists
-
fileName
-
filePath
-
fileTime
-
fileTime
-
group
-
groupId
-
isAbsolute
-
isAlias
-
isBundle
-
isDir
-
isExecutable
-
isFile
-
isHidden
-
isJunction
-
isNativePath
-
isReadable
-
isRelative
-
isRoot
-
isShortcut
-
isSymLink
-
isSymbolicLink
-
isWritable
-
junctionTarget
-
lastModified
-
lastModified
-
lastRead
-
lastRead
-
makeAbsolute
-
metadataChangeTime
-
metadataChangeTime
-
assign
-
equals
-
owner
-
ownerId
-
path
-
permission
-
permissions
-
readSymLink
-
refresh
-
setCaching
-
setFile
-
setFile
-
setFile
-
size
-
stat
-
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)
.
-