org.apache.commons.jjar
Class RepositoryProps

java.lang.Object
  extended by java.util.Dictionary
      extended by java.util.Hashtable
          extended by java.util.Properties
              extended by org.apache.commons.jjar.RepositoryProps
All Implemented Interfaces:
Serializable, Cloneable, Map, Repository

public class RepositoryProps
extends Properties
implements Repository

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
RepositoryProps()
           
 
Method Summary
 List getDependencyList(String pkg, String version)
           
 String getFetchTarget(String pkg, String version)
           
 int getPackageCount()
           
 String getPackageDefaultVersion(String pkg)
           
 String getPackageDescription(String pkg)
           
 Iterator getPackageListIter()
           
 List getPackageVersionList(String pkg)
           
 boolean isPackage(String pkg)
           
 void load(URL url)
           
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepositoryProps

public RepositoryProps()
Method Detail

load

public void load(URL url)
Specified by:
load in interface Repository

getDependencyList

public List getDependencyList(String pkg,
                              String version)
Specified by:
getDependencyList in interface Repository

getPackageListIter

public Iterator getPackageListIter()
Specified by:
getPackageListIter in interface Repository

getPackageCount

public int getPackageCount()
Specified by:
getPackageCount in interface Repository

getPackageDefaultVersion

public String getPackageDefaultVersion(String pkg)
Specified by:
getPackageDefaultVersion in interface Repository

getPackageDescription

public String getPackageDescription(String pkg)
Specified by:
getPackageDescription in interface Repository

getFetchTarget

public String getFetchTarget(String pkg,
                             String version)
Specified by:
getFetchTarget in interface Repository

isPackage

public boolean isPackage(String pkg)
Specified by:
isPackage in interface Repository

getPackageVersionList

public List getPackageVersionList(String pkg)
Specified by:
getPackageVersionList in interface Repository


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.