uk.co.petertribble.pkgview
Class PkgList

java.lang.Object
  extended by uk.co.petertribble.pkgview.PkgList

public class PkgList
extends java.lang.Object


Constructor Summary
PkgList()
          Create a package list
PkgList(java.lang.String pkgroot)
          Create a package list Packages are in directories, so ignore files and anything hidden (starting with a dot) and also the locale directory
 
Method Summary
 void createRevDependencies()
          Create a reverse dependency tree.
 java.util.Set<SolarisPackage> getDependantSet(java.lang.String pkg)
           
 SolarisPackage getPackage(java.lang.String name)
           
 java.util.List<SolarisPackage> getPackages()
           
 java.lang.String revDeps(java.lang.String pkgname)
          Return a HTML table showing the dependants of this package.
 java.lang.String revDeps(java.lang.String pkgname, boolean showselected)
          Return a HTML table showing the dependants of this package and, optionally, whether they are currently selected.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PkgList

public PkgList()
Create a package list


PkgList

public PkgList(java.lang.String pkgroot)
Create a package list Packages are in directories, so ignore files and anything hidden (starting with a dot) and also the locale directory

Method Detail

getPackages

public java.util.List<SolarisPackage> getPackages()

getPackage

public SolarisPackage getPackage(java.lang.String name)

getDependantSet

public java.util.Set<SolarisPackage> getDependantSet(java.lang.String pkg)

revDeps

public java.lang.String revDeps(java.lang.String pkgname)
Return a HTML table showing the dependants of this package.


revDeps

public java.lang.String revDeps(java.lang.String pkgname,
                                boolean showselected)
Return a HTML table showing the dependants of this package and, optionally, whether they are currently selected.


createRevDependencies

public void createRevDependencies()
Create a reverse dependency tree. Pull the dependencies out and populate another Map.