|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.netheos.pcsapi.models.CQuota
public class CQuota
A simple class containing used/available storage information.
Negative values indicate that the information is not available from provider.
| Constructor Summary | |
|---|---|
CQuota(long bytesUsed,
long bytesAllowed)
|
|
| Method Summary | |
|---|---|
long |
getBytesAllowed()
Get the maximum allowed bytes in the filesystem |
long |
getBytesUsed()
Get the bytes used in the filesystem |
float |
getPercentUsed()
Get the percent used in the filesystem |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CQuota(long bytesUsed,
long bytesAllowed)
| Method Detail |
|---|
public float getPercentUsed()
public long getBytesUsed()
public long getBytesAllowed()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||