public class InsufficientQuotaAmounts extends Object
Modifier and Type | Field and Description |
---|---|
protected long |
spaceLeft |
protected long |
spaceNeeded |
protected long |
spaceShortage |
Constructor and Description |
---|
InsufficientQuotaAmounts(long spaceNeeded,
long spaceShortage,
long spaceLeft) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getSpaceLeft()
The amount of space left in the user's Dropbox, less than space_needed.
|
long |
getSpaceNeeded()
The amount of space needed to add the item (the size of the item).
|
long |
getSpaceShortage()
The amount of extra space needed to add the item.
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final long spaceNeeded
protected final long spaceShortage
protected final long spaceLeft
public InsufficientQuotaAmounts(long spaceNeeded, long spaceShortage, long spaceLeft)
spaceNeeded
- The amount of space needed to add the item (the size
of the item).spaceShortage
- The amount of extra space needed to add the item.spaceLeft
- The amount of space left in the user's Dropbox, less
than space_needed.public long getSpaceNeeded()
public long getSpaceShortage()
public long getSpaceLeft()
public String toStringMultiline()
The returned String may contain newlines.