1 36 package org.columba.ristretto.imap; 37 38 42 public class QuotaInfo 43 { 44 private long current; 45 private long max; 46 47 48 52 public QuotaInfo() 53 { 54 current = -1; 55 max = -1; 56 } 57 58 62 final public boolean hasQuota() 63 { 64 return (max != -1); 65 } 66 67 71 public long getSize() 72 { 73 return current; 74 } 75 76 80 public long getMaxSize() 81 { 82 return max; 83 } 84 85 89 public void setSize(long value) 90 { 91 current = value; 92 } 93 94 98 public void setMaxSize(long value) 99 { 100 max = value; 101 } 102 } 103 | Popular Tags |