object StringUtil

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

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. def appendNewLine(content: String, lineSeparator: String): String

    Appends LF if the given string does not end with LF.

    Appends LF if the given string does not end with LF.

    content

    the content

    lineSeparator

    "LF" or "CRLF"

    returns

    the converted content

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def base64Decode(value: String): Array[Byte]
  7. def base64Encode(value: Array[Byte]): String
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def convertFromByteArray(content: Array[Byte]): String

    Make string from byte array.

    Make string from byte array. Character encoding is detected automatically by StringUtil.detectEncoding. And if given bytes contains UTF-8 BOM, it's removed from returned string.

  10. def convertLineSeparator(content: String, lineSeparator: String): String

    Converts line separator in the given content.

    Converts line separator in the given content.

    content

    the content

    lineSeparator

    "LF" or "CRLF"

    returns

    the converted content

  11. def cutTail(txt: String, limit: Int, suffix: String = ""): String
  12. def decodeBlowfish(value: String): String
  13. def detectEncoding(content: Array[Byte]): String
  14. def encodeBlowfish(value: String): String
  15. def encodeRefName(value: String): String

    URL encode except '/'.

  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  18. def escapeHtml(value: String): String
  19. def extractCloseId(message: String): Seq[String]

    Extract close issue id like close #issueId from the given message.

    Extract close issue id like close #issueId from the given message.

    message

    the message which may contains close command

    returns

    the iterator of issue id

  20. def extractGlobalIssueId(message: String): List[(Option[String], Option[String], Option[String])]

    Extract issue id like owner/repository#issueId from the given message.

    Extract issue id like owner/repository#issueId from the given message.

    message

    the message which may contains issue id

    returns

    the iterator of issue id

  21. def extractIssueId(message: String): Seq[String]

    Extract issue id like #issueId from the given message.

    Extract issue id like #issueId from the given message.

    message

    the message which may contains issue id

    returns

    the iterator of issue id

  22. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def getRepositoryViewerUrl(gitRepositoryUrl: String, baseUrl: Option[String]): String
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def isInteger(value: String): Boolean
  28. def md5(value: String): String
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. def pbkdf2_sha256(value: String): String
  33. def pbkdf2_sha256(iter: Int, salt: String, value: String): String
  34. def sha1(value: String): String
  35. def splitWords(value: String): Array[String]
  36. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. def urlDecode(value: String): String
  39. def urlEncode(value: String): String
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped