Instance Constructors
-
new
SwizzleLinkFilter
(sourceDirectories: Traversable[File], extensions: Set[String])
Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
def
asInstanceOf
[T0]
: T0
-
def
canEqual
(arg0: Any): Boolean
-
def
clone
(): AnyRef
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(arg0: Any): Boolean
-
val
extensions
: Set[String]
-
def
filter
(context: RenderContext, html: String): String
-
def
finalize
(): Unit
-
def
findWikiFile
(link: String, requestUri: String): Option[File]
-
def
findWikiFileUri
(link: String, requestUri: String): Option[String]
-
def
findWikiFileWith
[T]
(link: String, requestUri: String)(fn: (File, File) ⇒ T): Option[T]
-
def
getClass
(): java.lang.Class[_]
-
def
hashCode
(): Int
-
def
isInstanceOf
[T0]
: Boolean
-
val
linkRegex
: Regex
-
def
ne
(arg0: AnyRef): Boolean
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
def
productArity
: Int
-
def
productElement
(arg0: Int): Any
-
def
productIterator
: Iterator[Any]
-
def
productPrefix
: String
-
val
sourceDirectories
: Traversable[File]
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
def
toString
(): String
-
def
transformLink
(link: String, requestUri: String): String
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
Deprecated Value Members
-
def
productElements
: Iterator[Any]
Inherited from Serializable
Inherited from Serializable
Inherited from Product
Inherited from Equals
Inherited from Filter
Inherited from AnyRef
Inherited from Any
Converts links used in wiki notation to find the template or wiki markup files on the file system.
Wiki links tend to assume a single name is unique per wiki space; but when converting wiki pages to URIs or files and directories you often want to move the wiki files into directory trees. This filter will fix up these bad links, searching for wiki files in your source tree and swizzling the generated links to use those.