o

gitbucket.core.util

StringUtil

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. 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. 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 clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. 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.

  8. 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

  9. def decodeBlowfish(value: String): String
  10. def detectEncoding(content: Array[Byte]): String
  11. def encodeBlowfish(value: String): String
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def escapeHtml(value: String): String
  15. 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

  16. 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

  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isInteger(value: String): Boolean
  22. def md5(value: String): String
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  26. def sha1(value: String): String
  27. def splitWords(value: String): Array[String]
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. def urlDecode(value: String): String
  31. def urlEncode(value: String): String
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped