aQute.bnd.filerepo
Class FileRepo

java.lang.Object
  extended by aQute.bnd.filerepo.FileRepo

public class FileRepo
extends Object


Constructor Summary
FileRepo(File root)
           
 
Method Summary
 File[] get(String bsn, VersionRange versionRange)
          Get a list of URLs to bundles that are constrained by the bsn and versionRange.
 File get(String bsn, VersionRange range, int strategy)
           
 List<String> list(String regex)
           
 File put(String bsn, Version version)
           
 List<Version> versions(String bsn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileRepo

public FileRepo(File root)
Method Detail

get

public File[] get(String bsn,
                  VersionRange versionRange)
           throws Exception
Get a list of URLs to bundles that are constrained by the bsn and versionRange.

Throws:
Exception

list

public List<String> list(String regex)
                  throws Exception
Throws:
Exception

versions

public List<Version> versions(String bsn)
                       throws Exception
Throws:
Exception

get

public File get(String bsn,
                VersionRange range,
                int strategy)
         throws Exception
Throws:
Exception

put

public File put(String bsn,
                Version version)
         throws IOException
Throws:
IOException


Copyright © 2013 aQute SARL. All Rights Reserved.