net.sourceforge.argval.packageinfo
Interface PackageInfoManager

All Known Implementing Classes:
PackageInfoManagerImpl

public interface PackageInfoManager

Author:
T. Verhagen

Method Summary
 void addPackage(JarFile jarFile)
           
 void addPackage(Package pckg)
          Add a Package instance.
 void addPackage(Package[] packageArray)
          Adds all the Package instances.
 void addPackageInfo(PackageInfo packageInfo)
           
 void addPackageInfo(PackageInfo packageInfo, String packageName)
           
 PackageInfo getPackage(String title)
          Returns a PackageInfo, or null when nothing is found.
 Set<String> getTitleSet()
          Returns a Set instance containing all the titles of the added Package instances.
 

Method Detail

addPackage

void addPackage(Package[] packageArray)
Adds all the Package instances.

Parameters:
packageArray - Array containing Package instances.

addPackage

void addPackage(Package pckg)
Add a Package instance.

Parameters:
pckg - The Package instance.

addPackage

void addPackage(JarFile jarFile)

addPackageInfo

void addPackageInfo(PackageInfo packageInfo)

addPackageInfo

void addPackageInfo(PackageInfo packageInfo,
                    String packageName)
Parameters:
packageInfo -

getTitleSet

Set<String> getTitleSet()
Returns a Set instance containing all the titles of the added Package instances.

Returns:
A Set containing the titles of the Package instances.

getPackage

PackageInfo getPackage(String title)
Returns a PackageInfo, or null when nothing is found.

Parameters:
title - The title of the Package which should be returned.
Returns:
A PackageInfo instance, or null if nothing is found.


Copyright © 2013 Verhagen Software. All Rights Reserved.