Package org.xwiki.vfs

Interface VfsPathFactory


  • @Role
    public interface VfsPathFactory
    Helper to create a Path instance from an XWiki VFS URI (e.g. attach:Sandbox.WebHome@my.zip/some/path).
    Since:
    8.4RC1
    Version:
    $Id: 3d7d7f2f6e2dae579cfca2d26e4203b21178c243 $
    • 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