public class StorageStatistics extends Object
| Constructor and Description |
|---|
StorageStatistics(File file) |
| Modifier and Type | Method and Description |
|---|---|
long |
getFreeSpace()
Returns the amount of free space remaining.
|
long |
getTotalSpace()
Returns the total amount of space.
|
long |
getUsableSpace()
Returns the amount of usable space remaining.
|
public StorageStatistics(File file)
public long getUsableSpace()
public long getFreeSpace()
public long getTotalSpace()
Copyright © 2013–2018. All rights reserved.