object Util

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Util
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. def closureMinimize(source: String, name: String = "<eval>"): String
  7. def copyToFile(source: URL, target: File): Unit
  8. def copyToFileWithTextTransform(source: URL, target: File)(f: (String) ⇒ String)(implicit codec: Codec): Unit
  9. def createIdentifier(text: String): String
  10. def encodeScriptContent(s: String): String

    Encode a string for use inside an HTML script tag, as recommended in https://www.w3.org/TR/html5/scripting-1.html#restrictions-for-contents-of-script-elements

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def htmlCompressorMinimize(source: String, minimizeCss: Boolean, minimizeJs: Boolean): String
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def readLines(source: URL): Vector[String]
  22. def relativeSiteURI(from: URI, to: URI): URI

    Create a relative link from one page to another.

    Create a relative link from one page to another. Both URIs must be absolute "site:" URIs without "." or ".." path segments, ending in file names (i.e. no tailing "/"). For the to URI, the site root ("/") is also allowed.

  23. def rewriteIndexPageLink(rel: URI, indexPage: Option[String]): URI
  24. def sha1(data: Array[Byte]): String
  25. val siteRootURI: URI
  26. def sourceFileURI(baseDir: File, file: File): URI
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. val themeRootURI: URI
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. def trimLines(s: String): String

    Remove empty lines from the beginning and end of a string, plus any trailing CR or LF

  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped