abstract class StringHelper extends AnyRef
Utils for strings.
- Alphabetic
- By Inheritance
- StringHelper
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new StringHelper()
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
-
final
val
CR: String
CR - "\n".
-
final
val
EMPTY: String
Empty string - "".
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getPluralFormRU(number: Int, form1: String, form2: String, form3: String): String
- form1
если оканчивается на цифру 1, кроме случаев, если оканчивается на 11.
- form2
если оканчивается на цифры 2..4.
- form3
если оканчивается на цифры 5..20.
-
def
getPluralFormRU(number: Int): Int
1 - если оканчивается на цифру 1, кроме случаев, если оканчивается на 11.
1 - если оканчивается на цифру 1, кроме случаев, если оканчивается на 11. 2 - если оканчивается на цифры 2..4. 3 - если оканчивается на цифры 5..20.
-
def
hasText(value: String, ignoreWhiteSpace: Boolean = false): Boolean
If string is null or empty then returns false.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- def isEmpty(value: String, ignoreWhiteSpace: Boolean = false): Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
join[T](list: T*): String
Connects elements as strings.
- def join(list: Iterable[_]): String
-
def
join(list: Iterable[_], separator: String): String
Connects elements as strings.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nonEmpty(value: String, ignoreWhiteSpace: Boolean = false): Boolean
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
split(source: String, pattern: Pattern, includeSeparator: Boolean): Seq[String]
Split source by pattern(separators), includes in result separators.
Split source by pattern(separators), includes in result separators. Empty string doesn't not return.
-
def
split(source: String, pattern: String, includeSeparator: Boolean = true): Seq[String]
Split source by pattern(separators), includes in result separators.
Split source by pattern(separators), includes in result separators. Empty string doesn't not return.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toFirstLowerCase(value: String): String
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
tokenize(source: String, delimiter: String, skipIndexes: Int*): Seq[String]
Tokenize a String based on the given string delimiter and skip given indexes.
-
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
- @throws( ... )