Package lumis.portal.deployment.resource
Class ResourceEnumeratorFactory
- java.lang.Object
-
- lumis.portal.deployment.resource.ResourceEnumeratorFactory
-
public class ResourceEnumeratorFactory extends Object
ResourceEnumerator
factory.- Since:
- 8.0.0
- Version:
- $Revision: 17047 $ $Date: 2015-03-03 11:22:22 -0300 (Tue, 03 Mar 2015) $
-
-
Constructor Summary
Constructors Constructor Description ResourceEnumeratorFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResourceEnumerator
getFor(URI basePath)
Returns the appropriateResourceEnumerator
for the givenbase path
.
-
-
-
Method Detail
-
getFor
public static ResourceEnumerator getFor(URI basePath)
Returns the appropriateResourceEnumerator
for the givenbase path
.The
basePath
is expected to have ascheme
, which will be used to decide how and where the resources will be searched.- Parameters:
basePath
- the URI that will be the base of resource search.- Returns:
- the appropriate
ResourceEnumerator
for the givenbase path
. - Throws:
IllegalArgumentException
- ifbasePath
isnull
orbasePath
does not have a scheme.- Since:
- 8.0.0
-
-