java.lang.Object| +--com.tildemh.debbug.Cache
getBug(int number,boolean needComments) Returns a bug report from the cache | |
static Cache | |
getListing(ListingStub listing) Returns a package listing from cache | |
void | Removes a bug from the cache |
void | Removes a listing from the cache. |
void | setDir(String dir) Overrides the default location for the cache directory. |
void | Stores a bug report in cache |
void | Stores a package listing in cache |
boolean | virtualListingExists(String name) Returns true if the virtual listing already exisits |
publicBuggetBug(int number,boolean needComments)
CacheMiss
- if it was unable to get the bug report.CacheError
- when other problems prevent the bug report from being
created.publicstatic CachegetInstance()
publicListinggetListing(ListingStub listing)
CacheMiss
- if this was not possiblepublicvoidremove(Bug bug)
publicvoidremove(Listing list)
publicvoidsetDir(String dir)
System.getProperty("user.home") +
"/.debbug-java";
publicvoidstore(Bug bug)
publicvoidstore(Listing list)
publicbooleanvirtualListingExists(String name)