object HTMLParser
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HTMLParser
- AnyRef
- Any
- Hide All
- Show All
Visibility
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def extractFontSize(style: String, baseEmPx: Int = 16, baseRemPx: Int = 16, parentPx: Int = 16): Int
Extracts font size from a CSS style string, supporting 'px', 'pt', 'em', 'rem', and '%'.
Extracts font size from a CSS style string, supporting 'px', 'pt', 'em', 'rem', and '%'. Returns pixel size as integer.
- style
CSS style string (e.g., "font-size: 1.2em; ...")
- baseEmPx
Base pixel size for 1em (default 16)
- baseRemPx
Base pixel size for 1rem (default 16)
- parentPx
Parent font size for '%' (default 16)
- returns
Font size in pixels, or 0 if not found
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def isFormattedAsTitle(style: String, titleFontSize: Int): Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isTitleElement(tag: String, style: String, role: String, titleFontSize: Int): Boolean
- 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 parseFirstTableElement(html: String): Element
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tableElementToJson(tableElem: Element): String
- 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)