Class

com.twitter.inject.conversions.string

RichString

Related Doc: package string

Permalink

implicit final class RichString extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichString
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichString(self: String)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

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

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

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def ellipse(len: Int): String

    Permalink
  6. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  7. def getOrElse(default: ⇒ String): String

    Permalink
  8. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  9. val self: String

    Permalink
  10. def toOption: Option[String]

    Permalink
  11. def toString(): String

    Permalink
    Definition Classes
    Any

Deprecated Value Members

  1. def camelify: String

    Permalink

    Converts foo_bar to fooBar (first letter lowercased)

    Converts foo_bar to fooBar (first letter lowercased)

    For example:

    "hello_world".camelify

    will return the String "helloWorld".

    Annotations
    @deprecated
    Deprecated

    (Since version 2019-03-02) Users are encouraged to use com.twitter.conversions.StringOps#toCamelCase

  2. def pascalify: String

    Permalink

    Converts foo_bar to FooBar (first letter uppercased)

    Converts foo_bar to FooBar (first letter uppercased)

    For example:

    "hello_world".pascalify

    will return the String "HelloWorld".

    Annotations
    @deprecated
    Deprecated

    (Since version 2019-03-02) Users are encouraged to use com.twitter.conversions.StringOps#toPascalCase

  3. def snakify: String

    Permalink

    Converts FooBar to foo_bar (all lowercase)

    Converts FooBar to foo_bar (all lowercase)

    For example:

    "HelloWorld".snakify

    will return the String "hello_world".

    Annotations
    @deprecated
    Deprecated

    (Since version 2019-03-02) Users are encouraged to use com.twitter.conversions.StringOps#toSnakeCase

Inherited from AnyVal

Inherited from Any

Ungrouped