object StringUtil
- Alphabetic
- By Inheritance
- StringUtil
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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.
-
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
- def decodeBlowfish(value: String): String
- def detectEncoding(content: Array[Byte]): String
- def encodeBlowfish(value: String): String
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def escapeHtml(value: String): String
-
def
extractCloseId(message: String): Seq[String]
Extract close issue id like
from the given message.close #issueId
Extract close issue id like
from the given message.close #issueId
- message
the message which may contains close command
- returns
the iterator of issue id
-
def
extractIssueId(message: String): Seq[String]
Extract issue id like
from the given message.#issueId
Extract issue id like
from the given message.#issueId
- message
the message which may contains issue id
- returns
the iterator of issue id
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getRepositoryViewerUrl(gitRepositoryUrl: String, baseUrl: Option[String]): String
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isInteger(value: String): Boolean
- def md5(value: String): String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def sha1(value: String): String
- def splitWords(value: String): Array[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def urlDecode(value: String): String
- def urlEncode(value: String): String
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )