public class FileUrlProtocolHandler extends Object implements UrlProtocolHandler
Constructor and Description |
---|
FileUrlProtocolHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(String protocol) |
Set<String> |
getAssetPaths(URL url,
Pattern filterExpr,
ClassLoader... classLoaders)
Returns a list of all asset paths found in resource
|
public boolean accepts(String protocol)
accepts
in interface UrlProtocolHandler
public Set<String> getAssetPaths(URL url, Pattern filterExpr, ClassLoader... classLoaders)
UrlProtocolHandler
getAssetPaths
in interface UrlProtocolHandler
url
- url to resourcefilterExpr
- filter for the assets to findclassLoaders
- classloader to locate resourcesCopyright © 2017. All rights reserved.