com.ecyrd.jspwiki.providers |
|
Java Source File Name | Type | Comment |
AbstractFileProvider.java | Class | Provides a simple directory based repository for Wiki pages. |
AllTests.java | Class | |
BasicAttachmentProvider.java | Class | Provides basic, versioning attachments. |
BasicAttachmentProviderTest.java | Class | |
CachingAttachmentProvider.java | Class | Provides a caching attachment provider. |
CachingProvider.java | Class | Provides a caching page provider. |
CachingProviderTest.java | Class | |
CounterProvider.java | Class | A provider who counts the hits to different parts. |
FastSearch.java | Interface | If a provider implements this interface, then CachingProvider
will never attempt to search on its own; it will always pass any searches
through to the actual provider. |
FileSystemProvider.java | Class | Provides a simple directory based repository for Wiki pages. |
FileSystemProviderTest.java | Class | |
NoSuchVersionException.java | Class | Indicates that an non-existing version was specified. |
ProviderException.java | Class | This exception represents the superclass of all exceptions that providers
may throw. |
RCSFileProvider.java | Class | This class implements a simple RCS file provider. |
RCSFileProviderTest.java | Class | Tests the RCSFileProvider. |
RepositoryModifiedException.java | Class | If the provider detects that someone has modified the repository
externally, it should throw this exception. |
VersioningFileProvider.java | Class | Provides a simple directory based repository for Wiki pages.
Pages are held in a directory structure:
Main.txt
Foobar.txt
OLD/
Main/
1.txt
2.txt
page.properties
Foobar/
page.properties
In this case, "Main" has three versions, and "Foobar" just one version.
The properties file contains the necessary metainformation (such as author)
information of the page. |
VersioningFileProviderTest.java | Class | |
VersioningProvider.java | Interface | This is a provider interface which providers can implement, if they
support fast checks of versions.
Note that this interface is pretty much a hack to support certain functionality
before a complete refactoring of the complete provider interface. |
VerySimpleProvider.java | Class | This is a simple provider that is used by some of the tests. |
WikiAttachmentProvider.java | Interface | Defines an attachment provider - a class which is capable of saving
binary data as attachments.
The difference between this class and WikiPageProvider is that there
PageProviders handle Unicode text, whereas we handle binary data.
While there are quite a lot of similarities in how we handle
things, many providers can really use just one. |
WikiPageProvider.java | Interface | Each Wiki page provider should implement this interface.
You can build whatever page providers based on this, just
leave the unused methods do something useful.
WikiPageProvider uses Strings and ints to refer to pages. |