com.tildemh.debbug
Class BTS
java.lang.Object|
+--com.tildemh.debbug.BTS
publicclass BTS
extends java.lang.Object
Debian Bug Tracking System interaction. This class is used to obtain bug
reports and listings. Methods will take simple package name or bug number
inputs and this class will determine whether to download the reports, or use
the versions in cache.
todo: get bugs/listings in background using a separate thread.
This is released under the terms of the GNU Lesser General Public License
(LGPL). See the COPYING file for details.
- © Mark Howard <mh@debian.org> 2002
getBug
publicBuggetBug(Integer bugNumber)
Returns a bug report, or a new report with no content (in which case
bug.update() should be called).
- bugNumber
getInstance
publicstatic BTSgetInstance()
getListing
publicListinggetListing(ListingStub stub)
- stub
getListing
publicListinggetListing(ListingType type,String name)
Returns a listing, possibly an empty one;
- type
- name