Package org.apache.wicket.resource
Interface FileSystemPathService
-
- All Known Implementing Classes:
FileSystemJarPathService
public interface FileSystemPathServiceGets the actual path for a specific file system. Have a look intoFileSystemJarPathServiceto find a reference implementation.- Author:
- Tobias Soloschenko
- See Also:
FileSystemJarPathService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PathgetPath(URI uri, Map<String,String> env)Gets the actual path for a specific file system to work onbooleanisResponsible(URI uri)Checks if the file system path service is responsible to handle the given URI
-
-
-
Method Detail
-
getPath
Path getPath(URI uri, Map<String,String> env)
Gets the actual path for a specific file system to work on- Parameters:
uri- the uri to get the path fromenv- environment variables to be applied to the file system- Returns:
- the actual path or null if the implementation is not responsible
-
isResponsible
boolean isResponsible(URI uri)
Checks if the file system path service is responsible to handle the given URI- Parameters:
uri- the URI to detect if the file system path service is responsible- Returns:
- if the file system path service is responsible to handle the given URI
-
-