com.ecyrd.jspwiki.util
Class ProviderConverter
java.lang.Object
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:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProviderConverter
public ProviderConverter()
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