java.lang.Object
io.qt.QtObject
io.qt.core.QFileInfo
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
System-independent file information
Java wrapper for Qt's class QFileInfo
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQFileInfo
(QFileDevice file) protected
Constructor for internal use only. -
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()
final String
final String
final QDir
dir()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.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()
final boolean
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
final void
setFile
(QFileDevice file) final long
size()
final void
stat()
final String
suffix()
final void
final String
toString()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QFileInfo
public QFileInfo() -
QFileInfo
-
QFileInfo
-
QFileInfo
-
QFileInfo
-
QFileInfo
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
absoluteDir
-
absoluteFilePath
-
absolutePath
-
baseName
-
birthTime
-
bundleName
-
caching
-
canonicalFilePath
-
canonicalPath
-
completeBaseName
-
completeSuffix
-
dir
-
exists
-
fileName
-
filePath
-
fileTime
-
group
-
groupId
-
isAbsolute
-
isBundle
-
isDir
-
isExecutable
-
isFile
-
isHidden
-
isJunction
-
isNativePath
-
isReadable
-
isRelative
-
isRoot
-
isShortcut
-
isSymLink
-
isSymbolicLink
-
isWritable
-
junctionTarget
-
lastModified
-
lastRead
-
makeAbsolute
-
metadataChangeTime
-
assign
-
owner
-
ownerId
-
path
-
permission
Overloaded function for
permission(io.qt.core.QFileDevice.Permissions)
. -
permission
-
permissions
-
refresh
-
setCaching
-
setFile
-
setFile
-
setFile
-
size
-
stat
-
suffix
-
swap
-
symLinkTarget
-
exists
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-