public class DirectoryResourceLocator extends Object implements LocalResourceLocator
Constructor and Description |
---|
DirectoryResourceLocator(String... directories) |
Modifier and Type | Method and Description |
---|---|
URL |
findLocalResource(String resourceName)
This method finds a resource in the local environment for this artifact, if the resource is not found and the
artifact has a parent artifact then the operation is resolved by that parent, if there is no parent, the resources
is searched in the global environment.
|
public DirectoryResourceLocator(String... directories)
public URL findLocalResource(String resourceName)
LocalResourceLocator
findLocalResource
in interface LocalResourceLocator
resourceName
- name of the resource to find.Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.