Class ResourceEnumeratorFactory


  • public class ResourceEnumeratorFactory
    extends java.lang.Object
    Since:
    8.0.0
    Version:
    $Revision: 17047 $ $Date: 2015-03-03 11:22:22 -0300 (Tue, 03 Mar 2015) $
    • Constructor Detail

      • ResourceEnumeratorFactory

        public ResourceEnumeratorFactory()
    • Method Detail

      • getFor

        public static ResourceEnumerator getFor​(java.net.URI basePath)
        Returns the appropriate ResourceEnumerator for the given base path.

        The basePath is expected to have a scheme, 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 given base path.
        Throws:
        java.lang.IllegalArgumentException - if basePath is null or basePath does not have a scheme.
        Since:
        8.0.0