org.nuiton.license.plugin.repository
Class LicenseRepositoryFactory
java.lang.Object
org.nuiton.license.plugin.repository.LicenseRepositoryFactory
public class LicenseRepositoryFactory
- extends java.lang.Object
- Since:
- 1.0.3
- Author:
- chemit
|
Field Summary |
static java.lang.String |
JAR_LICENSE_REPOSITORY
class-path directory where is the licenses repository |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAR_LICENSE_REPOSITORY
public static final java.lang.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,
java.lang.String... extraResolvers)
throws java.lang.IllegalArgumentException,
java.io.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:
java.lang.IllegalArgumentException
java.io.IOException
newJarLicenseRepository
public static LicenseRepository newJarLicenseRepository(boolean load)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2008-2009 CodeLutin. All Rights Reserved.