io
.
teamscala
.
scala
.
util
StringOps
Related Docs:
object StringOps
|
package util
final
class
StringOps
extends
AnyVal
Linear Supertypes
AnyVal
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
StringOps
AnyVal
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
StringOps
(
self:
String
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
def
a
:
Regex
Shortcut for
io.teamscala.scala.util.StringOps#toAntStylePattern
Shortcut for
io.teamscala.scala.util.StringOps#toAntStylePattern
Annotations
@inline
()
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
br2nl
:
String
Annotations
@inline
()
def
camelToHyphen
:
String
Annotations
@inline
()
def
camelToUnderscore
:
String
Annotations
@inline
()
def
checkTranscoding
:
Set
[
String
]
Annotations
@inline
()
def
checkTranscoding
(
encoding:
Charset
)
:
Set
[
String
]
def
cutstring
(
length:
Int
,
suffix:
String
=
""
)
:
String
Annotations
@inline
()
def
encrypt
(
algorithm:
String
)
:
String
def
encryptMD5
:
String
Annotations
@inline
()
def
encryptSHA
:
String
Annotations
@inline
()
def
encryptSHA256
:
String
Annotations
@inline
()
def
encryptSHA384
:
String
Annotations
@inline
()
def
encryptSHA512
:
String
Annotations
@inline
()
def
escapeRegex
(
s:
String
)
:
String
Annotations
@inline
()
def
getClass
()
:
Class
[_ <:
AnyVal
]
Definition Classes
AnyVal → Any
def
htmlArrange
(
parentTagName:
String
=
"html"
,
innerHtml:
Boolean
=
false
,
props:
CleanerProperties
=
defaultHtmlCleanerProperties
,
serializer: (
CleanerProperties
) ⇒
HtmlSerializer
=
new SimpleHtmlSerializer(_)
)
:
String
def
htmlCleanXSS
(
baseUri:
String
=
""
,
whitelist:
Whitelist
=
Whitelist.basic
)
:
String
def
hyphenToCamel
:
String
Annotations
@inline
()
def
hyphenToUnderscore
:
String
Annotations
@inline
()
def
isDigits
:
Boolean
Annotations
@inline
()
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
nbsp2space
:
String
Annotations
@inline
()
def
nl2br
:
String
Annotations
@inline
()
def
parseDate
[
T <:
String
]
(
pattern:
T
,
timeZone:
TimeZone
=
TimeZone.getDefault
,
locale:
Locale
=
Locale.getDefault
)
:
Date
def
parseMap
:
Map
[
String
,
String
]
Annotations
@inline
()
def
parseMap
(
trimValue:
Boolean
)
:
Map
[
String
,
String
]
def
prependEachLine
(
prefix:
String
)
:
String
Annotations
@inline
()
val
self
:
String
def
space2nbsp
:
String
Annotations
@inline
()
def
stripTags
:
String
Annotations
@inline
()
def
toAntStylePattern
:
Regex
def
toString
()
:
String
Definition Classes
Any
def
uncapitalize
:
String
Annotations
@inline
()
def
underscoreToCamel
:
String
Annotations
@inline
()
def
underscoreToHyphen
:
String
Annotations
@inline
()
Inherited from
AnyVal
Inherited from
Any
Ungrouped