Package org.xwiki.vfs
Interface VfsPathFactory
-
@Role public interface VfsPathFactory
Helper to create aPath
instance from an XWiki VFS URI (e.g.attach:Sandbox.WebHome@my.zip/some/path
).- Since:
- 8.4RC1
- Version:
- $Id: 3d7d7f2f6e2dae579cfca2d26e4203b21178c243 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Path
create(URI uri)
-
-
-
Method Detail
-
create
Path create(URI uri) throws VfsException
- Parameters:
uri
- the XWiki VFS URI (e.g.attach:Sandbox.WebHome@my.zip/some/path
)- Returns:
- the corresponding NIO2
Path
instance - Throws:
VfsException
- if the URI is not valid or the user doesn't have permissions to access it
-
-