implicit final class EscapeOps extends AnyVal
- Alphabetic
- By Inheritance
- EscapeOps
- AnyVal
- Any
- by AnyOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new EscapeOps(value: String)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
- def +(other: String): String
- def ->[B](y: B): (EscapeOps, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def ensuring(cond: (EscapeOps) ⇒ Boolean, msg: ⇒ Any): EscapeOps
- def ensuring(cond: (EscapeOps) ⇒ Boolean): EscapeOps
- def ensuring(cond: Boolean, msg: ⇒ Any): EscapeOps
- def ensuring(cond: Boolean): EscapeOps
-
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()
-
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()
-
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()
-
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()
-
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()
- def formatted(fmtstr: String): String
-
def
future: Future[EscapeOps]
Creates an already completed
Future
containingvalue
.Creates an already completed
Future
containingvalue
.- 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()
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
option: Option[EscapeOps]
Creates an
Option
containingvalue
.Creates an
Option
containingvalue
.- returns
Some(value)
ifvalue
is notnull
,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()
-
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()
-
def
quoteRegexReplacement: String
Produces a string that can be used as a literal replacement in the
appendReplacement
method of theMatcher
class.Produces a string that can be used as a literal replacement in the
appendReplacement
method of theMatcher
class.- returns
the literal string replacement pattern
- Annotations
- @inline()
-
def
tap(f: (EscapeOps) ⇒ Unit): EscapeOps
Applies side-effectul method to
value
, returningvalue
.Applies side-effectul method to
value
, returningvalue
.- 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
-
def
toString(): String
- Definition Classes
- Any
-
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()
-
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()
-
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()
-
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()
-
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()
- def →[B](y: B): (EscapeOps, B)