public interface WildcardStreamLocator
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasWildcard(String uri) |
InputStream |
locateStream(String uri,
File folder)
Locates the stream based on the fileName containing the wildcard and the folder where to search.
|
boolean hasWildcard(String uri)
uri - to checkInputStream locateStream(String uri, File folder) throws IOException
uri - the resource of the uri to locate. This uri should be exactly the same as defined in Resource.folder - parent from where the search of fileNameWithWildcard should start.InputStream to the resources collection matching the wildcard.IOException - if folder is invalid or when I/O error occurs while locating the stream.Copyright © 2008-2013. All Rights Reserved.