public class GlobusPathMatchingResourcePatternResolver extends Object
Constructor and Description |
---|
GlobusPathMatchingResourcePatternResolver() |
Modifier and Type | Method and Description |
---|---|
GlobusResource |
getResource(String location)
This method takes a location string and returns a GlobusResource of the
corresponding location.
|
GlobusResource[] |
getResources(String locationPattern)
Finds all the resources that match the Ant-Style locationPattern
|
public GlobusPathMatchingResourcePatternResolver()
public GlobusResource getResource(String location)
location
- An absolute or relative location in the style classpath:/folder/className.class,
file:/folder/fileName.ext, or folder/folder/fileName.extpublic GlobusResource[] getResources(String locationPattern)
locationPattern
- Ant-Style location pattern which may be prefixed with
classpath:/, file:/, or describe a relative path.Copyright © 2016. All rights reserved.