import org.plog4u.wiki.filter.FilterUtil;
public class Util {
+ public static String titleToDB(String in) {
+ return in.replaceAll(" ", "_");
+ }
+ public static String db2Title(String in) {
+ return in.replaceAll("_", " ");
+ }
+ public static String db2TitleLink(String in) {
+ return "[["+in.replaceAll("_", " ")+"]]";
+ }
public static Shell findShell() {
IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
if (window != null) {