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
- Parameters:
dir
-file
-
-
QFileInfo
- Parameters:
file
-
-
QFileInfo
- Parameters:
fileinfo
-
-
QFileInfo
- Parameters:
file
-
-
QFileInfo
Overloaded constructor for
QFileInfo(io.qt.core.QDir, java.lang.String)
.
-
-
Method Details
-
absoluteDir
- Returns:
-
absoluteFilePath
- Returns:
-
absolutePath
- Returns:
-
baseName
- Returns:
-
birthTime
- Returns:
-
bundleName
- Returns:
-
caching
- Returns:
-
canonicalFilePath
- Returns:
-
canonicalPath
- Returns:
-
completeBaseName
- Returns:
-
completeSuffix
- Returns:
-
dir
- Returns:
-
exists
- Returns:
-
fileName
- Returns:
-
filePath
- Returns:
-
fileTime
- Parameters:
time
-- Returns:
-
group
- Returns:
-
groupId
- Returns:
-
isAbsolute
- Returns:
-
isAlias
- Returns:
- Since:
- This function was introduced in Qt 6.4.
-
isBundle
- Returns:
-
isDir
- Returns:
-
isExecutable
- Returns:
-
isFile
- Returns:
-
isHidden
- Returns:
-
isJunction
- Returns:
-
isNativePath
- Returns:
-
isReadable
- Returns:
-
isRelative
- Returns:
-
isRoot
- Returns:
-
isShortcut
- Returns:
-
isSymLink
- Returns:
-
isSymbolicLink
- Returns:
-
isWritable
- Returns:
-
junctionTarget
- Returns:
- Since:
- This function was introduced in Qt 6.2.
-
lastModified
- Returns:
-
lastRead
- Returns:
-
makeAbsolute
- Returns:
-
metadataChangeTime
- Returns:
-
assign
- Parameters:
fileinfo
-
-
equals
- Parameters:
fileinfo
-- Returns:
-
owner
- Returns:
-
ownerId
- Returns:
-
path
- Returns:
-
permission
- Parameters:
permissions
-- Returns:
-
permissions
- Returns:
-
refresh
-
setCaching
- Parameters:
on
-
-
setFile
- Parameters:
dir
-file
-
-
setFile
- Parameters:
file
-
-
setFile
- Parameters:
file
-
-
size
- Returns:
-
stat
- Since:
- This function was introduced in Qt 6.0.
-
suffix
- Returns:
-
swap
- Parameters:
other
-
-
symLinkTarget
- Returns:
-
exists
- Parameters:
file
-- Returns:
-
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)
.
-