org.nuiton.license.plugin.repository
Class LicenseRepositoryFactory
java.lang.Object
org.nuiton.license.plugin.repository.LicenseRepositoryFactory
public class LicenseRepositoryFactory
- extends Object
- Since:
- 1.0.3
- Author:
- chemit
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAR_LICENSE_REPOSITORY
public static final String JAR_LICENSE_REPOSITORY
- class-path directory where is the licenses repository
- See Also:
- Constant Field Values
LicenseRepositoryFactory
public LicenseRepositoryFactory()
newLicenseRepository
public static LicenseRepository newLicenseRepository(boolean useJarRepository,
boolean load,
String... extraResolvers)
throws IOException
- Obtain a new repository.
- Parameters:
useJarRepository - flag to use at first a jar repositoryload - flag to load the repositoryextraResolvers - extra baseURLs to defined extra license resolver
- Returns:
- the instanciate and ready to use license repository
- Throws:
IOException - if any problem while acquiring license repository
newJarLicenseRepository
public static LicenseRepository newJarLicenseRepository(boolean load)
throws IOException
- Throws:
IOException
Copyright © 2008-2010 CodeLutin. All Rights Reserved.