object CleanerHelper
- Alphabetic
- By Inheritance
- CleanerHelper
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val BLOCK_SPLIT_PATTERN: String
- val DOUBLE_PARAGRAPH_PATTERN: String
- val UNICODE_BULLETS: List[String]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bytesStringToString(text: String, encoding: String): String
Converts a string representation of a byte string (e.g., containing escape sequences) to an Annotation structure using the specified encoding.
Converts a string representation of a byte string (e.g., containing escape sequences) to an Annotation structure using the specified encoding.
- text
The string representation of the byte string.
- returns
The String containing the decoded result
- def cleanBullets(text: String): String
- def cleanDashes(text: String): String
- def cleanExtraWhitespace(text: String): String
- def cleanNonAsciiChars(text: String): String
- def cleanOrderedBullets(text: String): String
- def cleanPostfix(text: String, pattern: String, ignoreCase: Boolean, strip: Boolean): String
Cleans a postfix from a string based on a pattern.
Cleans a postfix from a string based on a pattern.
- text
The text to clean.
- returns
The cleaned string.
- def cleanPrefix(text: String, pattern: String, ignoreCase: Boolean, strip: Boolean): String
Cleans a prefix from a string based on a pattern.
Cleans a prefix from a string based on a pattern.
- text
The text to clean.
- returns
The cleaned string.
- def cleanTrailingPunctuation(text: String): String
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def decodeHtmlEntities(text: String): String
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def formatEncodingStr(encoding: String): String
Formats an input encoding string (e.g.,
utf-8,iso-8859-1, etc).Formats an input encoding string (e.g.,
utf-8,iso-8859-1, etc).- encoding
The encoding string to be formatted.
- returns
The formatted encoding string.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def parseEscapedBytes(text: String): Array[Byte]
Parses a string containing escape sequences (e.g.,
\x9f) into a byte array.Parses a string containing escape sequences (e.g.,
\x9f) into a byte array.- text
The input string with escape sequences.
- returns
A byte array representing the parsed bytes.
- def removePunctuation(text: String): String
Removes punctuation from a given string.
Removes punctuation from a given string.
- returns
The string with punctuation removed.
- def replaceUnicodeCharacters(text: String): String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)