Package org.xwiki.vfs
Interface VfsManager
-
@Role public interface VfsManager
API to construct a VFS URL or access the content of an archive.- Since:
- 7.4M2
- Version:
- $Id: cf37e382f94c0d2741412e459dd40d35efc15b34 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getURL(VfsResourceReference reference)
Generate a relative VFS URL to access a resource inside an archive.
-
-
-
Method Detail
-
getURL
String getURL(VfsResourceReference reference) throws VfsException
Generate a relative VFS URL to access a resource inside an archive.- Parameters:
reference
- the reference to a file inside a an archive. For exampleattach:space.page@my.zip/path/to/file
.- Returns:
- a relative URL that can be used to access the content of a file inside an archive (ZIP, EAR, TAR.GZ, etc)
- Throws:
VfsException
- if an error occurs computing the URL
-
-