java.lang.Object
io.qt.QtObject
io.qt.core.QStorageInfo
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Provides information about currently mounted storage and drives
Java wrapper for Qt class QStorageInfo
-
Constructor Summary
ConstructorDescriptionQStorageInfo
(QDir dir) QStorageInfo
(QStorageInfo other) QStorageInfo
(String path) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QStorageInfo other) final int
final long
final long
final long
clone()
Creates and returns a copy of this object.final QByteArray
device()
final String
final boolean
equals
(QStorageInfo second) boolean
final QByteArray
int
hashCode()
Returns the objects's hash code computed byqHash(QStorageInfo)
.final boolean
final boolean
isReady()
final boolean
isRoot()
final boolean
isValid()
static QList<QStorageInfo>
final String
name()
final void
refresh()
static QStorageInfo
root()
final String
rootPath()
final void
final QByteArray
final void
swap
(QStorageInfo other) toString()
Seeoperator<<(QDebug,
QStorageInfo) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QStorageInfo
public QStorageInfo() -
QStorageInfo
- Parameters:
dir
-
-
QStorageInfo
- Parameters:
other
-
-
QStorageInfo
- Parameters:
path
-
-
-
Method Details
-
blockSize
- Returns:
-
bytesAvailable
- Returns:
-
bytesFree
- Returns:
-
bytesTotal
- Returns:
-
device
- Returns:
-
displayName
- Returns:
-
fileSystemType
- Returns:
-
isReadOnly
- Returns:
-
isReady
- Returns:
-
isRoot
- Returns:
-
isValid
- Returns:
-
name
- Returns:
-
assign
- Parameters:
other
-
-
equals
- Parameters:
second
-- Returns:
-
refresh
-
rootPath
- Returns:
-
setPath
- Parameters:
path
-
-
subvolume
- Returns:
-
swap
- Parameters:
other
-
-
mountedVolumes
- Returns:
-
root
- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QStorageInfo)
. -
toString
See
operator<<(QDebug,
QStorageInfo) -
clone
Creates and returns a copy of this object.
-