Package org.radeox.filter.interwiki
Class InterWiki
- java.lang.Object
-
- org.radeox.filter.interwiki.InterWiki
-
public class InterWiki extends Object
Stores information and links to other wikis forming a InterWiki- Version:
- $Id$
- Author:
- Stephan J. Schmidt
-
-
Constructor Summary
Constructors Constructor Description InterWiki()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInterMap(BufferedReader reader)WriterappendTo(Writer writer)booleancontains(String external)Writerexpand(Writer writer, String wiki, String name, String view)Writerexpand(Writer writer, String wiki, String name, String view, String anchor)static InterWikigetInstance()StringgetWikiUrl(String wiki, String name)
-
-
-
Method Detail
-
getInstance
public static InterWiki getInstance()
-
addInterMap
public void addInterMap(BufferedReader reader) throws IOException
- Throws:
IOException
-
appendTo
public Writer appendTo(Writer writer) throws IOException
- Throws:
IOException
-
contains
public boolean contains(String external)
-
expand
public Writer expand(Writer writer, String wiki, String name, String view, String anchor) throws IOException
- Throws:
IOException
-
expand
public Writer expand(Writer writer, String wiki, String name, String view) throws IOException
- Throws:
IOException
-
-