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 detectEncoding(content: Array[Byte]): String

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

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

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

    Permalink
  13. def extractCloseId(message: String): Iterator[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

  14. def extractIssueId(message: String): Iterator[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

  15. def finalize(): Unit

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  30. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped