Last modified by Jean SIMARD on 2016/01/28 17:55

<
From version < 3.1 >
edited by Jean SIMARD
on 2016/01/28 17:54
To version < 4.1 >
edited by Jean SIMARD
on 2016/01/28 17:54
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -2,7 +2,7 @@
2 2  
3 3  [[VFS API>>extensions:Extension.VFS API]] allows you to play with the files inside an archive: you may store the archive as an attachment of a page (and not all of the files in the archive) and still get access to the files inside the archive. This API is based on [[TrueVFS>>https://truevfs.java.net/]] library which identify the type of the archive based on the filename extension. For example, ##*.zip## will be recognized as a ZIP archive but ##*.xff## (see [[XFF Filter>>extensions:Extension.XFF filter]] will not, even if it's also an archive compressed as a ZIP.
4 4  
5 -Here are the few steps to understand in order to make it possible. You can find the complete project (##pom.xml##, the class and resources) as a [[ZIP]] attached to this page.
5 +Here are the few steps to understand in order to make it possible. You can find the complete project (##pom.xml##, the class and resources) as a [[ZIP>>attach:new-extension.zip]] attached to this page.
6 6  
7 7  = Register you filename extension in TrueVFS configuration =
8 8  First, you have to register your filename extension to TrueVFS. You could do like explained in [[TrueVFS documentation>>https://truevfs.java.net/apidocs/net/java/truevfs/access/TConfig.html#global]]. We'll use the ##JarDriver## for the ZIP format.

Get Connected