Package org.apache.wicket.resource
Interface FileSystemPathService
-
- All Known Implementing Classes:
FileSystemJarPathService
public interface FileSystemPathService
Gets the actual path for a specific file system. Have a look intoFileSystemJarPathService
to find a reference implementation.- Author:
- Tobias Soloschenko
- See Also:
FileSystemJarPathService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.nio.file.Path
getPath(java.net.URI uri, java.util.Map<java.lang.String,java.lang.String> env)
Gets the actual path for a specific file system to work onboolean
isResponsible(java.net.URI uri)
Checks if the file system path service is responsible to handle the given URI
-
-
-
Method Detail
-
getPath
java.nio.file.Path getPath(java.net.URI uri, java.util.Map<java.lang.String,java.lang.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(java.net.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
-
-