Packages

implicit final class EscapeOps extends AnyVal

Extension methods for string escaping and unescaping.

Source
string.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EscapeOps
  2. AnyVal
  3. Any
Implicitly
  1. by AnyOps
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EscapeOps(value: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from EscapeOps to any2stringadd[EscapeOps] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (EscapeOps, B)
    Implicit
    This member is added by an implicit conversion from EscapeOps to ArrowAssoc[EscapeOps] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def ensuring(cond: (EscapeOps) ⇒ Boolean, msg: ⇒ Any): EscapeOps
    Implicit
    This member is added by an implicit conversion from EscapeOps to Ensuring[EscapeOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  8. def ensuring(cond: (EscapeOps) ⇒ Boolean): EscapeOps
    Implicit
    This member is added by an implicit conversion from EscapeOps to Ensuring[EscapeOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: Boolean, msg: ⇒ Any): EscapeOps
    Implicit
    This member is added by an implicit conversion from EscapeOps to Ensuring[EscapeOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean): EscapeOps
    Implicit
    This member is added by an implicit conversion from EscapeOps to Ensuring[EscapeOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def escapeCsv: String

    Returns a value for a CSV column enclosed in double quotes, if required, as per RFC4180.

    Returns a value for a CSV column enclosed in double quotes, if required, as per RFC4180.

    returns

    the input CSV column string

    Annotations
    @inline()
  12. def escapeHtml: String

    Escapes the characters in a string using HTML entities.

    Escapes the characters in a string using HTML entities. Supports all known HTML 4.0 entities, including accents.

    returns

    the HTML4 escaped string

    Annotations
    @inline()
  13. def escapeJava: String

    Escapes the characters in a string using Java string rules.

    Escapes the characters in a string using Java string rules.

    returns

    the Java escaped string

    Annotations
    @inline()
  14. def escapeJson: String

    Escapes the characters in a string using Json string rules.

    Escapes the characters in a string using Json string rules.

    returns

    the Json escaped string

    Annotations
    @inline()
  15. def escapeXml: String

    Escapes the characters in a string using XML entities.

    Escapes the characters in a string using XML entities.

    returns

    the XML escaped string

    Annotations
    @inline()
  16. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from EscapeOps to StringFormat[EscapeOps] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  17. def future: Future[EscapeOps]

    Creates an already completed Future containing value.

    Creates an already completed Future containing value.

    returns

    the already completed Future with the specified result

    Implicit
    This member is added by an implicit conversion from EscapeOps to AnyOps[EscapeOps] performed by method AnyOps in scail.commons.ops.
    Definition Classes
    AnyOps
    Annotations
    @inline()
  18. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def option: Option[EscapeOps]

    Creates an Option containing value.

    Creates an Option containing value.

    returns

    Some(value) if value is not null, None otherwise

    Implicit
    This member is added by an implicit conversion from EscapeOps to AnyOps[EscapeOps] performed by method AnyOps in scail.commons.ops.
    Definition Classes
    AnyOps
    Annotations
    @inline()
  21. def quoteRegex: String

    Produces a string that can be used as a Pattern that matches the original string as if it were a literal pattern.

    Produces a string that can be used as a Pattern that matches the original string as if it were a literal pattern.

    returns

    the literal string pattern

    Annotations
    @inline()
  22. def quoteRegexReplacement: String

    Produces a string that can be used as a literal replacement in the appendReplacement method of the Matcher class.

    Produces a string that can be used as a literal replacement in the appendReplacement method of the Matcher class.

    returns

    the literal string replacement pattern

    Annotations
    @inline()
  23. def tap(f: (EscapeOps) ⇒ Unit): EscapeOps

    Applies side-effectul method to value, returning value.

    Applies side-effectul method to value, returning value.

    f

    the side-effectful method to apply to value

    returns

    value

    Implicit
    This member is added by an implicit conversion from EscapeOps to AnyOps[EscapeOps] performed by method AnyOps in scail.commons.ops.
    Definition Classes
    AnyOps
  24. def toString(): String
    Definition Classes
    Any
  25. def unescapeCsv: String

    Returns a string value for an unescaped CSV column.

    Returns a string value for an unescaped CSV column.

    returns

    the unescaped string

    Annotations
    @inline()
  26. def unescapeHtml: String

    Unescapes a string containing HTML 4.0 entity escapes to the actual Unicode characters corresponding to the escapes.

    Unescapes a string containing HTML 4.0 entity escapes to the actual Unicode characters corresponding to the escapes.

    returns

    the unescaped string

    Annotations
    @inline()
  27. def unescapeJava: String

    Unescapes any Java literals found in the string.

    Unescapes any Java literals found in the string.

    returns

    the unescaped string

    Annotations
    @inline()
  28. def unescapeJson: String

    Unescapes any Json literals found in the string.

    Unescapes any Json literals found in the string.

    returns

    the unescaped string

    Annotations
    @inline()
  29. def unescapeXml: String

    Unescapes a string containing XML entity escapes to the actual Unicode characters corresponding to the escapes.

    Unescapes a string containing XML entity escapes to the actual Unicode characters corresponding to the escapes.

    returns

    the unescaped string

    Annotations
    @inline()
  30. def [B](y: B): (EscapeOps, B)
    Implicit
    This member is added by an implicit conversion from EscapeOps to ArrowAssoc[EscapeOps] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion AnyOps from EscapeOps to AnyOps[EscapeOps]

Inherited by implicit conversion any2stringadd from EscapeOps to any2stringadd[EscapeOps]

Inherited by implicit conversion StringFormat from EscapeOps to StringFormat[EscapeOps]

Inherited by implicit conversion Ensuring from EscapeOps to Ensuring[EscapeOps]

Inherited by implicit conversion ArrowAssoc from EscapeOps to ArrowAssoc[EscapeOps]

Ungrouped