- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Access to directory structures and their contents
Java wrapper for Qt class QDir
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQDir::Filter
static final class
QFlags
type for enumQDir.Filter
static enum
Java wrapper for Qt enumQDir::SortFlag
static final class
QFlags
type for enumQDir.SortFlag
-
Constructor Summary
ConstructorDescriptionQDir()
Overloaded constructor forQDir(java.lang.String)
withpath = (String)null
.SeeQDir::
QDir(QDir) Overloaded constructor forQDir(java.lang.String, java.lang.String, io.qt.core.QDir.SortFlags, io.qt.core.QDir.Filters)
QDir
(String path, String nameFilter, QDir.SortFlags sort) Overloaded constructor forQDir(java.lang.String, java.lang.String, io.qt.core.QDir.SortFlags, io.qt.core.QDir.Filters)
withfilter = new io.qt.core.QDir.Filters(7)
.QDir
(String path, String nameFilter, QDir.SortFlags sort, QDir.Filter ... filter) Overloaded constructor forQDir(java.lang.String, java.lang.String, io.qt.core.QDir.SortFlags, io.qt.core.QDir.Filters)
.QDir
(String path, String nameFilter, QDir.SortFlags sort, QDir.Filters filter) -
Method Summary
Modifier and TypeMethodDescriptionfinal String
absoluteFilePath
(String fileName) final String
static void
addSearchPath
(String prefix, String path) final void
final void
Overloaded function forassign(io.qt.core.QDir)
.final String
at
(long arg__1) Delegate forget(long)
.final String
final boolean
final boolean
cdUp()
SeeQDir::
cdUp() static String
clone()
Creates and returns a copy of this object.final long
count()
static QDir
current()
SeeQDir::
current() static String
final String
dirName()
drives()
SeeQDir::
drives() Overloaded function forentryInfoList(io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
entryInfoList
(QDir.Filter ... filters) Overloaded function forentryInfoList(QDir.Filters, QDir.SortFlags)
withsort = new QDir.SortFlags(-1)
.entryInfoList
(QDir.Filters filters) Overloaded function forentryInfoList(io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
withsort = new io.qt.core.QDir.SortFlags(-1)
.entryInfoList
(QDir.Filters filters, QDir.SortFlag ... sort) Overloaded function forentryInfoList(io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
.entryInfoList
(QDir.Filters filters, QDir.SortFlags sort) entryInfoList
(Collection<String> nameFilters) Overloaded function forentryInfoList(java.util.Collection, io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
entryInfoList
(Collection<String> nameFilters, QDir.Filters filters) Overloaded function forentryInfoList(java.util.Collection, io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
withsort = new io.qt.core.QDir.SortFlags(-1)
.entryInfoList
(Collection<String> nameFilters, QDir.Filters filters, QDir.SortFlag ... sort) Overloaded function forentryInfoList(java.util.Collection, io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
.entryInfoList
(Collection<String> nameFilters, QDir.Filters filters, QDir.SortFlags sort) entryInfoList
(Collection<String> nameFilters, QDir.Filter ... filters) Overloaded function forentryInfoList(java.util.Collection, QDir.Filters, QDir.SortFlags)
withsort = new QDir.SortFlags(-1)
.final QStringList
Overloaded function forentryList(io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
final QStringList
entryList
(QDir.Filter ... filters) Overloaded function forentryList(QDir.Filters, QDir.SortFlags)
withsort = new QDir.SortFlags(-1)
.final QStringList
entryList
(QDir.Filters filters) Overloaded function forentryList(io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
withsort = new io.qt.core.QDir.SortFlags(-1)
.final QStringList
entryList
(QDir.Filters filters, QDir.SortFlag ... sort) Overloaded function forentryList(io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
.final QStringList
entryList
(QDir.Filters filters, QDir.SortFlags sort) final QStringList
entryList
(Collection<String> nameFilters) Overloaded function forentryList(java.util.Collection, io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
final QStringList
entryList
(Collection<String> nameFilters, QDir.Filters filters) Overloaded function forentryList(java.util.Collection, io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
withsort = new io.qt.core.QDir.SortFlags(-1)
.final QStringList
entryList
(Collection<String> nameFilters, QDir.Filters filters, QDir.SortFlag ... sort) Overloaded function forentryList(java.util.Collection, io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
.final QStringList
entryList
(Collection<String> nameFilters, QDir.Filters filters, QDir.SortFlags sort) final QStringList
entryList
(Collection<String> nameFilters, QDir.Filter ... filters) Overloaded function forentryList(java.util.Collection, QDir.Filters, QDir.SortFlags)
withsort = new QDir.SortFlags(-1)
.final boolean
final boolean
Overloaded function forequals(io.qt.core.QDir)
.boolean
final boolean
exists()
final boolean
final String
final QDir.Filters
filter()
static String
fromNativeSeparators
(String pathName) final String
get
(long arg__1) int
hashCode()
Returns the objects's hash code computed byqHash(QDir)
.static QDir
home()
SeeQDir::
home() static String
homePath()
SeeQDir::
homePath() final boolean
static boolean
isAbsolutePath
(String path) final boolean
isEmpty()
Overloaded function forisEmpty(io.qt.core.QDir.Filters)
withfilters = new io.qt.core.QDir.Filters(24583)
.final boolean
isEmpty
(QDir.Filter ... filters) Overloaded function forisEmpty(io.qt.core.QDir.Filters)
.final boolean
isEmpty
(QDir.Filters filters) final boolean
final boolean
static boolean
isRelativePath
(String path) final boolean
isRoot()
static char
final boolean
static boolean
static boolean
match
(Collection<String> filters, String fileName) final boolean
final boolean
mkdir
(String dirName, QFileDevice.Permission ... permissions) Overloaded function formkdir(java.lang.String, io.qt.core.QFileDevice.Permissions)
.final boolean
mkdir
(String dirName, QFileDevice.Permissions permissions) final boolean
final QStringList
static QStringList
nameFiltersFromString
(String nameFilter) SeeQDir::
nameFiltersFromString(QString) final String
path()
final void
refresh()
final String
relativeFilePath
(String fileName) final boolean
final boolean
final boolean
final boolean
final boolean
static QDir
root()
SeeQDir::
root() static String
rootPath()
SeeQDir::
rootPath() static QStringList
searchPaths
(String prefix) static char
static boolean
setCurrent
(String path) final void
setFilter
(QDir.Filter ... filter) Overloaded function forsetFilter(io.qt.core.QDir.Filters)
.final void
setFilter
(QDir.Filters filter) final void
setNameFilters
(Collection<String> nameFilters) final void
static void
setSearchPaths
(String prefix, Collection<String> searchPaths) final void
setSorting
(QDir.SortFlag ... sort) Overloaded function forsetSorting(io.qt.core.QDir.SortFlags)
.final void
setSorting
(QDir.SortFlags sort) final QDir.SortFlags
sorting()
final void
static QDir
temp()
SeeQDir::
temp() static String
tempPath()
SeeQDir::
tempPath() static String
toNativeSeparators
(String pathName) toString()
Seeoperator<<(QDebug,
QDir) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QDir
See
QDir::
QDir(QDir) -
QDir
-
QDir
-
QDir
public QDir()Overloaded constructor for
QDir(java.lang.String)
withpath = (String)null
. -
QDir
Overloaded constructor for
QDir(java.lang.String, java.lang.String, io.qt.core.QDir.SortFlags, io.qt.core.QDir.Filters)
withfilter = new io.qt.core.QDir.Filters(7)
. -
QDir
Overloaded constructor for
QDir(java.lang.String, java.lang.String, io.qt.core.QDir.SortFlags, io.qt.core.QDir.Filters)
with:
sort = new io.qt.core.QDir.SortFlags(SortFlag.Name, SortFlag.IgnoreCase)
filter = new io.qt.core.QDir.Filters(7)
-
QDir
Overloaded constructor for
QDir(java.lang.String, java.lang.String, io.qt.core.QDir.SortFlags, io.qt.core.QDir.Filters)
.
-
-
Method Details
-
absoluteFilePath
-
absolutePath
-
canonicalPath
-
cd
-
cdUp
See
QDir::
cdUp() -
count
-
dirName
-
entryInfoList
@QtUninvokable public final QList<QFileInfo> entryInfoList(QDir.Filters filters, QDir.SortFlags sort) -
entryInfoList
@QtUninvokable public final QList<QFileInfo> entryInfoList(Collection<String> nameFilters, QDir.Filters filters, QDir.SortFlags sort) -
entryList
-
entryList
@QtUninvokable public final QStringList entryList(Collection<String> nameFilters, QDir.Filters filters, QDir.SortFlags sort) -
exists
-
exists
-
filePath
-
filter
-
isAbsolute
-
isEmpty
-
isReadable
-
isRelative
-
isRoot
-
makeAbsolute
-
mkdir
-
mkdir
See
QDir::
mkdir(QString, QFile::Permissions)const This function was introduced in Qt 6.3.
-
mkpath
-
nameFilters
-
assign
-
equals
-
get
-
path
-
refresh
-
relativeFilePath
-
remove
-
removeRecursively
-
rename
-
rmdir
-
rmpath
-
setFilter
-
setNameFilters
-
setPath
-
setSorting
-
sorting
-
swap
-
addSearchPath
-
cleanPath
-
current
See
QDir::
current() -
currentPath
-
drives
See
QDir::
drives() -
fromNativeSeparators
-
home
See
QDir::
home() -
homePath
See
QDir::
homePath() -
isAbsolutePath
-
isRelativePath
-
listSeparator
public static char listSeparator() -
match
-
match
-
nameFiltersFromString
See
QDir::
nameFiltersFromString(QString) -
root
See
QDir::
root() -
rootPath
See
QDir::
rootPath() -
searchPaths
-
separator
public static char separator() -
setCurrent
-
setSearchPaths
-
temp
See
QDir::
temp() -
tempPath
See
QDir::
tempPath() -
toNativeSeparators
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QDir)
. -
entryInfoList
Overloaded function for
entryInfoList(QDir.Filters, QDir.SortFlags)
withsort = new QDir.SortFlags(-1)
. -
entryList
Overloaded function for
entryList(QDir.Filters, QDir.SortFlags)
withsort = new QDir.SortFlags(-1)
. -
entryList
@QtUninvokable public final QStringList entryList(Collection<String> nameFilters, QDir.Filter ... filters) Overloaded function for
entryList(java.util.Collection, QDir.Filters, QDir.SortFlags)
withsort = new QDir.SortFlags(-1)
. -
entryInfoList
@QtUninvokable public final QList<QFileInfo> entryInfoList(Collection<String> nameFilters, QDir.Filter ... filters) Overloaded function for
entryInfoList(java.util.Collection, QDir.Filters, QDir.SortFlags)
withsort = new QDir.SortFlags(-1)
. -
toString
See
operator<<(QDebug,
QDir) -
clone
Creates and returns a copy of this object.
See
QDir::
QDir(QDir) -
entryInfoList
Overloaded function for
entryInfoList(io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
withsort = new io.qt.core.QDir.SortFlags(-1)
. -
entryInfoList
Overloaded function for
entryInfoList(io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
with:
filters = new io.qt.core.QDir.Filters(-1)
sort = new io.qt.core.QDir.SortFlags(-1)
-
entryInfoList
@QtUninvokable public final QList<QFileInfo> entryInfoList(QDir.Filters filters, QDir.SortFlag ... sort) Overloaded function for
entryInfoList(io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
. -
entryInfoList
@QtUninvokable public final QList<QFileInfo> entryInfoList(Collection<String> nameFilters, QDir.Filters filters) Overloaded function for
entryInfoList(java.util.Collection, io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
withsort = new io.qt.core.QDir.SortFlags(-1)
. -
entryInfoList
Overloaded function for
entryInfoList(java.util.Collection, io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
with:
filters = new io.qt.core.QDir.Filters(-1)
sort = new io.qt.core.QDir.SortFlags(-1)
-
entryInfoList
@QtUninvokable public final QList<QFileInfo> entryInfoList(Collection<String> nameFilters, QDir.Filters filters, QDir.SortFlag ... sort) Overloaded function for
entryInfoList(java.util.Collection, io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
. -
entryList
Overloaded function for
entryList(io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
withsort = new io.qt.core.QDir.SortFlags(-1)
. -
entryList
Overloaded function for
entryList(io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
with:
filters = new io.qt.core.QDir.Filters(-1)
sort = new io.qt.core.QDir.SortFlags(-1)
-
entryList
Overloaded function for
entryList(io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
. -
entryList
@QtUninvokable public final QStringList entryList(Collection<String> nameFilters, QDir.Filters filters) Overloaded function for
entryList(java.util.Collection, io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
withsort = new io.qt.core.QDir.SortFlags(-1)
. -
entryList
Overloaded function for
entryList(java.util.Collection, io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
with:
filters = new io.qt.core.QDir.Filters(-1)
sort = new io.qt.core.QDir.SortFlags(-1)
-
entryList
@QtUninvokable public final QStringList entryList(Collection<String> nameFilters, QDir.Filters filters, QDir.SortFlag ... sort) Overloaded function for
entryList(java.util.Collection, io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
. -
isEmpty
Overloaded function for
isEmpty(io.qt.core.QDir.Filters)
withfilters = new io.qt.core.QDir.Filters(24583)
. -
isEmpty
Overloaded function for
isEmpty(io.qt.core.QDir.Filters)
. -
mkdir
Overloaded function for
mkdir(java.lang.String, io.qt.core.QFileDevice.Permissions)
. -
assign
Overloaded function for
assign(io.qt.core.QDir)
. -
equals
Overloaded function for
equals(io.qt.core.QDir)
. -
at
Delegate for
get(long)
. -
setFilter
Overloaded function for
setFilter(io.qt.core.QDir.Filters)
. -
setSorting
Overloaded function for
setSorting(io.qt.core.QDir.SortFlags)
.
-