Class BasicAttachmentProvider

java.lang.Object
org.apache.wiki.providers.BasicAttachmentProvider
All Implemented Interfaces:
AttachmentProvider, WikiProvider

public class BasicAttachmentProvider
extends Object
implements AttachmentProvider
Provides basic, versioning attachments.
   Structure is as follows:
      attachment_dir/
         ThisPage/
            attachment.doc/
               attachment.properties
               1.doc
               2.doc
               3.doc
            picture.png/
               attachment.properties
               1.png
               2.png
         ThatPage/
            picture.png/
               attachment.properties
               1.png
             
  
The names of the directories will be URLencoded.

"attachment.properties" consists of the following items:

  • 1.author = author name for version 1 (etc)