| java.lang.Object com.ecyrd.jspwiki.providers.AbstractFileProvider com.ecyrd.jspwiki.providers.RCSFileProvider
RCSFileProvider | public class RCSFileProvider extends AbstractFileProvider (Code) | | This class implements a simple RCS file provider. NOTE: You MUST
have the RCS package installed for this to work. They must also
be in your path...
The RCS file provider extends from the FileSystemProvider, which
means that it provides the pages in the same way. The only difference
is that it implements the version history commands, and also in each
checkin it writes the page to the RCS repository as well.
If you decide to dabble with the default commands, please make sure
that you do not check the default archive suffix ",v". File deletion
depends on it.
author: Janne Jalkanen |
PROP_CHECKOUTVERSION | final public static String PROP_CHECKOUTVERSION(Code) | | |
deletePage | public void deletePage(String page) throws ProviderException(Code) | | Removes the page file and the RCS archive from the repository.
This method assumes that the page archive ends with ",v".
|
deleteVersion | public void deleteVersion(String page, int version)(Code) | | |
|
|