- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QDir extends QtObject implements Cloneable
Access to directory structures and their contents
Java wrapper for Qt class QDir
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QDir.Filter
Java wrapper for Qt enum QDir::Filterstatic class
QDir.Filters
QFlags type for enumQDir.Filter
static class
QDir.SortFlag
Java wrapper for Qt enum QDir::SortFlagstatic class
QDir.SortFlags
QFlags type for enumQDir.SortFlag
-
Constructor Summary
Constructors Modifier Constructor Description QDir()
Overloaded constructor forQDir(java.lang.String)
withpath = ""
.QDir(QDir arg__1)
See QDir::QDir(QDir)protected
QDir(QtObject.QPrivateConstructor p)
Constructor for internal use only.QDir(String path)
QDir(String path, String nameFilter)
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
-
Constructor Details
-
QDir
See QDir::QDir(QDir)
-
QDir
public QDir()Overloaded constructor for
QDir(java.lang.String)
withpath = ""
. -
QDir
-
QDir
Overloaded constructor for
QDir(java.lang.String, java.lang.String, io.qt.core.QDir.SortFlags, io.qt.core.QDir.Filters)
. -
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
-
QDir
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
absoluteFilePath
-
absolutePath
-
canonicalPath
-
cd
-
cdUp
See QDir::cdUp()
-
count
-
dirName
-
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
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.SortFlags sort) -
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)
. -
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.SortFlags sort) -
entryList
Overloaded function for
entryList(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
-
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)
. -
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.SortFlags sort) -
exists
-
exists
-
filePath
-
filter
-
isAbsolute
-
isEmpty
Overloaded function for
isEmpty(io.qt.core.QDir.Filters)
. -
isEmpty
Overloaded function for
isEmpty(io.qt.core.QDir.Filters)
withfilters = new io.qt.core.QDir.Filters(24583)
. -
isEmpty
-
isReadable
-
isRelative
-
isRoot
-
makeAbsolute
-
mkdir
-
mkpath
-
nameFilters
-
at
-
path
-
refresh
-
relativeFilePath
-
remove
-
removeRecursively
-
rename
-
rmdir
-
rmpath
-
setFilter
Overloaded function for
setFilter(io.qt.core.QDir.Filters)
. -
setFilter
-
setNameFilters
-
setPath
-
setSorting
Overloaded function for
setSorting(io.qt.core.QDir.SortFlags)
. -
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
-
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
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
entryInfoList
-
entryList
-
entryList
@QtUninvokable public final QList<String> entryList(Collection<String> nameFilters, QDir.Filter... filters) -
entryInfoList
@QtUninvokable public final QList<QFileInfo> entryInfoList(Collection<String> nameFilters, QDir.Filter... filters) -
toString
-
clone
-