UrlDetectorOptions

io.lambdaworks.detection.UrlDetectorOptions$
See theUrlDetectorOptions companion trait

The options to use when detecting URLs.

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

Checks for single level domains as well. Ex: go/, http://localhost

Checks for single level domains as well. Ex: go/, http://localhost

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object BracketMatch extends UrlDetectorOptions

Matches brackets and closes on the second one. Same as quote matching but works for brackets such as (), {}, []. For example, "(https://lambdaworks.io)" will pull out just "https://lambdaworks.io" instead of "https://lambdaworks.io)"

Matches brackets and closes on the second one. Same as quote matching but works for brackets such as (), {}, []. For example, "(https://lambdaworks.io)" will pull out just "https://lambdaworks.io" instead of "https://lambdaworks.io)"

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object Default extends UrlDetectorOptions

Default options, no special checks.

Default options, no special checks.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
Default.type
case object Html extends UrlDetectorOptions

Checks all of the rules besides brackets. This is XML but also can contain Javascript.

Checks all of the rules besides brackets. This is XML but also can contain Javascript.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
Html.type
case object Javascript extends UrlDetectorOptions

Checks JSON format or but also looks for a single quote.

Checks JSON format or but also looks for a single quote.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object Json extends UrlDetectorOptions

Checks for bracket characters and more importantly quotes to start and end strings.

Checks for bracket characters and more importantly quotes to start and end strings.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
Json.type
case object QuoteMatch extends UrlDetectorOptions

Matches quotes in the beginning and end of string. If a string starts with a quote, then the ending quote will be eliminated. For example, "https://lambdaworks.io" will pull out just 'https://lambdaworks.io' instead of 'https://lambdaworks.io"'

Matches quotes in the beginning and end of string. If a string starts with a quote, then the ending quote will be eliminated. For example, "https://lambdaworks.io" will pull out just 'https://lambdaworks.io' instead of 'https://lambdaworks.io"'

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type

Matches single quotes in the beginning and end of a string. For example, "'https://lambdaworks.io'" will pull out just "https://lambdaworks.io" instead of "https://lambdaworks.io'"

Matches single quotes in the beginning and end of a string. For example, "'https://lambdaworks.io'" will pull out just "https://lambdaworks.io" instead of "https://lambdaworks.io'"

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object Xml extends UrlDetectorOptions

Checks for XML characters and uses them as ending characters as well as quotes. This also includes quote_matching.

Checks for XML characters and uses them as ending characters as well as quotes. This also includes quote_matching.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
Xml.type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror