- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Access to directory structures and their contents
Java wrapper for Qt's class QDir
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QDir::Filterstatic final class
QFlags type for enumQDir.Filter
static enum
Java wrapper for Qt enum QDir::SortFlagstatic final class
QFlags type for enumQDir.SortFlag
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQDir()
Overloaded constructor forQDir(java.lang.String)
withpath = (String)null
.See QDir::QDir(QDir)protected
Constructor for internal use only.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 String
at
(int arg__1) final String
final boolean
final boolean
cdUp()
See QDir::cdUp()static String
clone()
final int
count()
static QDir
current()
See QDir::current()static String
final String
dirName()
drives()
See QDir::drives()Overloaded function forentryInfoList(io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
entryInfoList
(QDir.Filter... 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) 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.Filter... 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) 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) final QStringList
Overloaded function forentryList(io.qt.core.QDir.Filters, io.qt.core.QDir.SortFlags)
entryList
(QDir.Filter... 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) 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)
entryList
(Collection<String> nameFilters, QDir.Filter... 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) 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) boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.final boolean
exists()
final boolean
final String
final QDir.Filters
filter()
static String
fromNativeSeparators
(String pathName) int
hashCode()
static QDir
home()
See QDir::home()static String
homePath()
See QDir::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) final String
path()
final void
refresh()
final String
relativeFilePath
(String fileName) final boolean
final boolean
final boolean
final boolean
final boolean
static QDir
root()
See QDir::root()static String
rootPath()
See QDir::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()
See QDir::temp()static String
tempPath()
See QDir::tempPath()static String
toNativeSeparators
(String pathName) toString()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QDir
See QDir::QDir(QDir)
-
QDir
public QDir()Overloaded constructor for
QDir(java.lang.String)
withpath = (String)null
. -
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
-
mkdir
Overloaded function for
mkdir(java.lang.String, io.qt.core.QFileDevice.Permissions)
. -
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
Overloaded function for
entryInfoList(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)
withsort = new io.qt.core.QDir.SortFlags(-1)
. -
entryList
@QtUninvokable public final QList<String> entryList(Collection<String> nameFilters, QDir.Filter... 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)
. -
entryInfoList
@QtUninvokable public final QList<QFileInfo> entryInfoList(Collection<String> nameFilters, QDir.Filter... 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)
. -
toString
-
clone
-