com.ecyrd.jspwiki.util
Class ProviderConverter

java.lang.Object
  extended by com.ecyrd.jspwiki.util.ProviderConverter

public class ProviderConverter
extends Object

A command-line application that allows you to convert from one provider to another. Currently this only supports conversion from RCSFileProvider to VersioningFileProvider.

This class is mostly a hack, so do not trust it very much. It leaves the converted directory in /tmp/converter-tmp/ and does not touch the original in any way.

Since:

Constructor Summary
ProviderConverter()
           
 
Method Summary
protected  void convert()
           
static void main(String[] args)
           
protected  String mangleName(String pagename)
           
protected  void setRCSSourceDir(String dir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProviderConverter

public ProviderConverter()
Method Detail

setRCSSourceDir

protected void setRCSSourceDir(String dir)

mangleName

protected String mangleName(String pagename)

convert

protected void convert()
                throws WikiException,
                       IOException
Throws:
WikiException
IOException

main

public static void main(String[] args)
                 throws Exception
Parameters:
args - Normal arguments.
Throws:
Exception