org.linkedin.util-core/src/main/java/org/linkedin/util/io/resource/internal/ResourceProviderChain.java
@Override
  public InternalResourceProvider doCreateResourceProvider(String rootPath)
  {
    List<InternalResourceProvider> resourceProviders =
      new ArrayList<InternalResourceProvider>(_resourceProviders.size());

    for(InternalResourceProvider resourceProvider : _resourceProviders)
    {
      resourceProviders.add(resourceProvider.doCreateResourceProvider(rootPath));
    }

    return new ResourceProviderChain(resourceProviders);
  }
@Override
  public InternalResourceProvider doCreateResourceProvider(String rootPath)
  {
    List<InternalResourceProvider> resourceProviders =
      new ArrayList<InternalResourceProvider>(_resourceProviders.size());

    for(InternalResourceProvider resourceProvider : _resourceProviders)
    {
      resourceProviders.add(resourceProvider.doCreateResourceProvider(rootPath));
    }

    return new ResourceProviderChain(resourceProviders);
  }
@ Override public InternalResourceProvider doCreateResourceProvider ( String rootPath ) { List < InternalResourceProvider > resourceProviders = new ArrayList < InternalResourceProvider > ( _resourceProviders . size ( ) ) ; for ( InternalResourceProvider resourceProvider : _resourceProviders ) { resourceProviders . add ( resourceProvider . doCreateResourceProvider ( rootPath ) ) ; } return new ResourceProviderChain ( resourceProviders ) ; }
Creates a new resource provider given the new path.

@param rootPath
@return the new resource provider
Creates a new resource provider given the new path .