}
/**
- * Extract the wiki name from the current filename, replaces '/' with ':' characters, but doesn't replace '_' characters
+ * Extract the wiki name from the current filename, but doesn't replace '_' characters
*
* @param currentFile
* @return
}
/**
- * Extract the wiki name from the current filename, replaces '/' with ':' characters, and '_' with ' ' characters if
+ * Extract the wiki name from the current filename, replaces '_' with ' ' characters if
* <code>replaceUnderscore==true</code>
*
* @param currentFile
for (int i = basePath.length() + 1; i < lastIndex; i++) {
ch = filePath.charAt(i);
switch (ch) {
- case '/':
- result.append(':');
- break;
+// case '/':
+// result.append(':');
+// break;
default:
if (ch == '_' && replaceUnderscore) {
result.append(' ');
}
/**
- * Extract the wiki name from the current filename, replaces '/' with ':' characters, and replaces all '_' with ' ' characters
+ * Extract the wiki name from the current filename, replaces all '_' with ' ' characters
*
* @param currentFile
* @return