org.springframework.core.io.support
Interface ResourcePatternResolver

All Known Implementing Classes:
PathMatchingResourcePatternResolver

public interface ResourcePatternResolver

Strategy interface for resolving a location pattern into Resource objects.

Can be used with any sort of location pattern: Input patterns have to match the strategy implementation. This interface just specifies the conversion method rather than a specific pattern format.

Since:
01.05.2004
Author:
Juergen Hoeller
See Also:
PathMatchingResourcePatternResolver

Method Summary
 Resource[] getResources(java.lang.String locationPattern)
          Resolve the given location pattern into Resource objects.
 

Method Detail

getResources

public Resource[] getResources(java.lang.String locationPattern)
                        throws java.io.IOException
Resolve the given location pattern into Resource objects.

Parameters:
locationPattern - the location pattern to resolve
Returns:
the corresponding Resource objects
Throws:
java.io.IOException - in case of I/O errors


Copyright (C) 2003-2004 The Spring Framework Project.