spray.util.pimps

PimpedString

class PimpedString extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PimpedString
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PimpedString(underlying: String)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def endsWith(c: Char): Boolean

  9. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  11. def fastSplit(delimiter: Char): List[String]

    Splits the underlying string into the segments that are delimited by the given character.

    Splits the underlying string into the segments that are delimited by the given character. The delimiter itself is never a part of any segment. If the string does not contain the delimiter the result is a List containing only the underlying string. Note that this implementation differs from the original String.split(...) method in that leading and trailing delimiters are NOT ignored, i.e. they trigger the inclusion of an empty leading or trailing empty string (respectively).

  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def getAsciiBytes: Array[Byte]

    Returns the ASCII encoded bytes of this string.

  14. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  17. def lazySplit(delimiter: Char): Stream[String]

    Lazily splits the underlying string into the segments that are delimited by the given character.

    Lazily splits the underlying string into the segments that are delimited by the given character. Only the segments that are actually accessed are computed. The delimiter itself is never a part of any segment. If the string does not contain the delimiter the result is a single-element stream containing only the underlying string. Note that this implementation differs from the original String.split(...) method in that leading and trailing delimiters are NOT ignored, i.e. they trigger the inclusion of an empty leading or trailing empty string (respectively).

  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. def nullAsEmpty: String

    If the underlying string is null the method returns the empty string, otherwise the underlying string.

  22. def secure_==(other: String): Boolean

    Tests two strings for value equality avoiding timing attacks.

    Tests two strings for value equality avoiding timing attacks. Note that this function still leaks information about the length of each string as well as whether the two strings have the same length.

  23. def startsWith(c: Char): Boolean

  24. def stripMarginWithNewline(newline: String): String

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

    Definition Classes
    AnyRef
  26. def toOption: Option[String]

    Returns Some(String) if the underlying string is non-emtpy, None otherwise

  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped