Object

gitbucket.core.util

StringUtil

Related Doc: package util

Permalink

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def appendNewLine(content: String, lineSeparator: String): String

    Permalink

    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

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def convertFromByteArray(content: Array[Byte]): String

    Permalink

    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

    Permalink

    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

    Permalink
  10. def detectEncoding(content: Array[Byte]): String

    Permalink
  11. def encodeBlowfish(value: String): String

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def escapeHtml(value: String): String

    Permalink
  15. def extractCloseId(message: String): Seq[String]

    Permalink

    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]

    Permalink

    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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def isInteger(value: String): Boolean

    Permalink
  22. def md5(value: String): String

    Permalink
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def sha1(value: String): String

    Permalink
  27. def splitWords(value: String): Array[String]

    Permalink
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. def urlDecode(value: String): String

    Permalink
  31. def urlEncode(value: String): String

    Permalink
  32. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped