diff --git a/404.html b/404.html index f35d651d..c03ba6dd 100644 --- a/404.html +++ b/404.html @@ -4,7 +4,7 @@ Scala URL Detector - + diff --git a/api/detection/BuildInfo$.html b/api/detection/BuildInfo$.html index c2cbcc79..7e24a504 100644 --- a/api/detection/BuildInfo$.html +++ b/api/detection/BuildInfo$.html @@ -1,2 +1,2 @@

Packages

o

detection

BuildInfo

case object BuildInfo extends Product with Serializable

This object was generated by sbt-buildinfo.

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BuildInfo
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. val name: String

    The value is "scurl-detector".

  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  14. val organization: String

    The value is "io.lambdaworks".

  15. def productElementName(n: Int): String
    Definition Classes
    Product
  16. def productElementNames: Iterator[String]
    Definition Classes
    Product
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. val toString: String
    Definition Classes
    BuildInfo → AnyRef → Any
  19. val version: String

    The value is "1.1.0+67-3c54d58b-SNAPSHOT".

  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped

+var toRoot = '../';

Packages

o

detection

BuildInfo

case object BuildInfo extends Product with Serializable

This object was generated by sbt-buildinfo.

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BuildInfo
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. val name: String

    The value is "scurl-detector".

  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  14. val organization: String

    The value is "io.lambdaworks".

  15. def productElementName(n: Int): String
    Definition Classes
    Product
  16. def productElementNames: Iterator[String]
    Definition Classes
    Product
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. val toString: String
    Definition Classes
    BuildInfo → AnyRef → Any
  19. val version: String

    The value is "1.1.0+68-715da8ba-SNAPSHOT".

  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped

diff --git a/assets/js/6a67916c.e68972d6.js b/assets/js/6a67916c.003e158a.js similarity index 94% rename from assets/js/6a67916c.e68972d6.js rename to assets/js/6a67916c.003e158a.js index 2621ff91..3dc4d338 100644 --- a/assets/js/6a67916c.e68972d6.js +++ b/assets/js/6a67916c.003e158a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[550],{917:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>s,default:()=>u,frontMatter:()=>a,metadata:()=>i,toc:()=>c});var o=r(4848),n=r(8453);const a={id:"overview_example",title:"Example"},s=void 0,i={id:"overview/overview_example",title:"Example",description:"Printing URLs extracted with default options and an allowed URL:",source:"@site/../scurl-detector-docs/target/mdoc/overview/overview_example.md",sourceDirName:"overview",slug:"/overview/overview_example",permalink:"/scurl-detector/overview/overview_example",draft:!1,unlisted:!1,editUrl:"https://github.com/lambdaworks/scurl-detector/edit/main/docs/overview/overview_example.md",tags:[],version:"current",frontMatter:{id:"overview_example",title:"Example"},sidebar:"docs",previous:{title:"Usage",permalink:"/scurl-detector/overview/overview_usage"}},l={},c=[];function d(e){const t=Object.assign({p:"p",pre:"pre",code:"code"},(0,n.R)(),e.components);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.p,{children:"Printing URLs extracted with default options and an allowed URL:"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-scala",children:'import io.lambdaworks.detection.UrlDetector\nimport io.lemonlabs.uri.{Host, AbsoluteUrl}\n\nval detector: UrlDetector = UrlDetector.default.withAllowed(Host.parse("lambdaworks.io"))\n// detector: UrlDetector = io.lambdaworks.detection.UrlDetector@31c0009f\nval extractedUrls: Set[AbsoluteUrl] = detector.extract("Hello! This is a URL - lambdaworks.io")\n// extractedUrls: Set[AbsoluteUrl] = Set(\n// AbsoluteUrl(\n// scheme = "http",\n// authority = Authority(\n// userInfo = None,\n// host = DomainName(value = "lambdaworks.io"),\n// port = None\n// ),\n// path = ,\n// query = QueryString(params = Vector()),\n// fragment = None\n// )\n// )\n\nextractedUrls.foreach(println)\n// http://lambdaworks.io\n'})})]})}const u=function(e={}){const{wrapper:t}=Object.assign({},(0,n.R)(),e.components);return t?(0,o.jsx)(t,Object.assign({},e,{children:(0,o.jsx)(d,e)})):d(e)}},8453:(e,t,r)=>{r.d(t,{R:()=>s});var o=r(6540);const n={},a=o.createContext(n);function s(e){const t=o.useContext(a);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}}}]); \ No newline at end of file +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[550],{917:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>s,default:()=>u,frontMatter:()=>a,metadata:()=>i,toc:()=>c});var o=r(4848),n=r(8453);const a={id:"overview_example",title:"Example"},s=void 0,i={id:"overview/overview_example",title:"Example",description:"Printing URLs extracted with default options and an allowed URL:",source:"@site/../scurl-detector-docs/target/mdoc/overview/overview_example.md",sourceDirName:"overview",slug:"/overview/overview_example",permalink:"/scurl-detector/overview/overview_example",draft:!1,unlisted:!1,editUrl:"https://github.com/lambdaworks/scurl-detector/edit/main/docs/overview/overview_example.md",tags:[],version:"current",frontMatter:{id:"overview_example",title:"Example"},sidebar:"docs",previous:{title:"Usage",permalink:"/scurl-detector/overview/overview_usage"}},l={},c=[];function d(e){const t=Object.assign({p:"p",pre:"pre",code:"code"},(0,n.R)(),e.components);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.p,{children:"Printing URLs extracted with default options and an allowed URL:"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-scala",children:'import io.lambdaworks.detection.UrlDetector\nimport io.lemonlabs.uri.{Host, AbsoluteUrl}\n\nval detector: UrlDetector = UrlDetector.default.withAllowed(Host.parse("lambdaworks.io"))\n// detector: UrlDetector = io.lambdaworks.detection.UrlDetector@53f994cf\nval extractedUrls: Set[AbsoluteUrl] = detector.extract("Hello! This is a URL - lambdaworks.io")\n// extractedUrls: Set[AbsoluteUrl] = Set(\n// AbsoluteUrl(\n// scheme = "http",\n// authority = Authority(\n// userInfo = None,\n// host = DomainName(value = "lambdaworks.io"),\n// port = None\n// ),\n// path = ,\n// query = QueryString(params = Vector()),\n// fragment = None\n// )\n// )\n\nextractedUrls.foreach(println)\n// http://lambdaworks.io\n'})})]})}const u=function(e={}){const{wrapper:t}=Object.assign({},(0,n.R)(),e.components);return t?(0,o.jsx)(t,Object.assign({},e,{children:(0,o.jsx)(d,e)})):d(e)}},8453:(e,t,r)=>{r.d(t,{R:()=>s});var o=r(6540);const n={},a=o.createContext(n);function s(e){const t=o.useContext(a);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.9ea77bb0.js b/assets/js/runtime~main.22045168.js similarity index 98% rename from assets/js/runtime~main.9ea77bb0.js rename to assets/js/runtime~main.22045168.js index c705fa31..8f51b7f7 100644 --- a/assets/js/runtime~main.9ea77bb0.js +++ b/assets/js/runtime~main.22045168.js @@ -1 +1 @@ -(()=>{"use strict";var e,t,r,a,o,n={},i={};function f(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return n[e].call(r.exports,r,r.exports,f),r.exports}f.m=n,e=[],f.O=(t,r,a,o)=>{if(!r){var n=1/0;for(u=0;u=o)&&Object.keys(f.O).every((e=>f.O[e](r[c])))?r.splice(c--,1):(i=!1,o0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[r,a,o]},f.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return f.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,f.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var o=Object.create(null);f.r(o);var n={};t=t||[null,r({}),r([]),r(r)];for(var i=2&a&&e;"object"==typeof i&&!~t.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach((t=>n[t]=()=>e[t]));return n.default=()=>e,f.d(o,n),o},f.d=(e,t)=>{for(var r in t)f.o(t,r)&&!f.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},f.f={},f.e=e=>Promise.all(Object.keys(f.f).reduce(((t,r)=>(f.f[r](e,t),t)),[])),f.u=e=>"assets/js/"+({48:"a94703ab",98:"a7bd4aaa",321:"dd30c6c9",401:"17896441",496:"ddc9f30f",550:"6a67916c",581:"935f2afb",634:"c4f5d8e4",647:"5e95c892",669:"7c2d301d",673:"0514bbca",765:"a5151db7",799:"2014d7a5"}[e]||e)+"."+{48:"9271cf62",98:"75b2318f",237:"83ad4363",321:"1b0688fb",401:"7606eeb8",496:"f9bae7d3",550:"e68972d6",581:"e6d772dd",634:"6e72e9ed",647:"16aee4b2",669:"c5a0fd2a",673:"9be3dcda",765:"577119a3",799:"a6114332"}[e]+".js",f.miniCssF=e=>{},f.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),f.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},o="website:",f.l=(e,t,r,n)=>{if(a[e])a[e].push(t);else{var i,c;if(void 0!==r)for(var d=document.getElementsByTagName("script"),u=0;u{i.onerror=i.onload=null,clearTimeout(b);var o=a[e];if(delete a[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(r))),t)return t(r)},b=setTimeout(s.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=s.bind(null,i.onerror),i.onload=s.bind(null,i.onload),c&&document.head.appendChild(i)}},f.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.p="/scurl-detector/",f.gca=function(e){return e={17896441:"401",a94703ab:"48",a7bd4aaa:"98",dd30c6c9:"321",ddc9f30f:"496","6a67916c":"550","935f2afb":"581",c4f5d8e4:"634","5e95c892":"647","7c2d301d":"669","0514bbca":"673",a5151db7:"765","2014d7a5":"799"}[e]||e,f.p+f.u(e)},(()=>{var e={354:0,869:0};f.f.j=(t,r)=>{var a=f.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else if(/^(354|869)$/.test(t))e[t]=0;else{var o=new Promise(((r,o)=>a=e[t]=[r,o]));r.push(a[2]=o);var n=f.p+f.u(t),i=new Error;f.l(n,(r=>{if(f.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var o=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src;i.message="Loading chunk "+t+" failed.\n("+o+": "+n+")",i.name="ChunkLoadError",i.type=o,i.request=n,a[1](i)}}),"chunk-"+t,t)}},f.O.j=t=>0===e[t];var t=(t,r)=>{var a,o,n=r[0],i=r[1],c=r[2],d=0;if(n.some((t=>0!==e[t]))){for(a in i)f.o(i,a)&&(f.m[a]=i[a]);if(c)var u=c(f)}for(t&&t(r);d{"use strict";var e,t,r,a,o,n={},i={};function f(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return n[e].call(r.exports,r,r.exports,f),r.exports}f.m=n,e=[],f.O=(t,r,a,o)=>{if(!r){var n=1/0;for(u=0;u=o)&&Object.keys(f.O).every((e=>f.O[e](r[c])))?r.splice(c--,1):(i=!1,o0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[r,a,o]},f.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return f.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,f.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var o=Object.create(null);f.r(o);var n={};t=t||[null,r({}),r([]),r(r)];for(var i=2&a&&e;"object"==typeof i&&!~t.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach((t=>n[t]=()=>e[t]));return n.default=()=>e,f.d(o,n),o},f.d=(e,t)=>{for(var r in t)f.o(t,r)&&!f.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},f.f={},f.e=e=>Promise.all(Object.keys(f.f).reduce(((t,r)=>(f.f[r](e,t),t)),[])),f.u=e=>"assets/js/"+({48:"a94703ab",98:"a7bd4aaa",321:"dd30c6c9",401:"17896441",496:"ddc9f30f",550:"6a67916c",581:"935f2afb",634:"c4f5d8e4",647:"5e95c892",669:"7c2d301d",673:"0514bbca",765:"a5151db7",799:"2014d7a5"}[e]||e)+"."+{48:"9271cf62",98:"75b2318f",237:"83ad4363",321:"1b0688fb",401:"7606eeb8",496:"f9bae7d3",550:"003e158a",581:"e6d772dd",634:"6e72e9ed",647:"16aee4b2",669:"c5a0fd2a",673:"9be3dcda",765:"577119a3",799:"a6114332"}[e]+".js",f.miniCssF=e=>{},f.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),f.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},o="website:",f.l=(e,t,r,n)=>{if(a[e])a[e].push(t);else{var i,c;if(void 0!==r)for(var d=document.getElementsByTagName("script"),u=0;u{i.onerror=i.onload=null,clearTimeout(b);var o=a[e];if(delete a[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(r))),t)return t(r)},b=setTimeout(s.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=s.bind(null,i.onerror),i.onload=s.bind(null,i.onload),c&&document.head.appendChild(i)}},f.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.p="/scurl-detector/",f.gca=function(e){return e={17896441:"401",a94703ab:"48",a7bd4aaa:"98",dd30c6c9:"321",ddc9f30f:"496","6a67916c":"550","935f2afb":"581",c4f5d8e4:"634","5e95c892":"647","7c2d301d":"669","0514bbca":"673",a5151db7:"765","2014d7a5":"799"}[e]||e,f.p+f.u(e)},(()=>{var e={354:0,869:0};f.f.j=(t,r)=>{var a=f.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else if(/^(354|869)$/.test(t))e[t]=0;else{var o=new Promise(((r,o)=>a=e[t]=[r,o]));r.push(a[2]=o);var n=f.p+f.u(t),i=new Error;f.l(n,(r=>{if(f.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var o=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src;i.message="Loading chunk "+t+" failed.\n("+o+": "+n+")",i.name="ChunkLoadError",i.type=o,i.request=n,a[1](i)}}),"chunk-"+t,t)}},f.O.j=t=>0===e[t];var t=(t,r)=>{var a,o,n=r[0],i=r[1],c=r[2],d=0;if(n.some((t=>0!==e[t]))){for(a in i)f.o(i,a)&&(f.m[a]=i[a]);if(c)var u=c(f)}for(t&&t(r);d Code of Conduct | Scala URL Detector - + diff --git a/contributing/index.html b/contributing/index.html index b38ca506..97ab9f67 100644 --- a/contributing/index.html +++ b/contributing/index.html @@ -4,7 +4,7 @@ Contributing | Scala URL Detector - + diff --git a/index.html b/index.html index 3e1d5347..278cd603 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ Homepage | Scala URL Detector - + diff --git a/overview/overview_example/index.html b/overview/overview_example/index.html index 66d2cde8..7b760b3a 100644 --- a/overview/overview_example/index.html +++ b/overview/overview_example/index.html @@ -4,7 +4,7 @@ Example | Scala URL Detector - + @@ -13,7 +13,7 @@ import io.lemonlabs.uri.{Host, AbsoluteUrl} val detector: UrlDetector = UrlDetector.default.withAllowed(Host.parse("lambdaworks.io")) -// detector: UrlDetector = io.lambdaworks.detection.UrlDetector@31c0009f +// detector: UrlDetector = io.lambdaworks.detection.UrlDetector@53f994cf val extractedUrls: Set[AbsoluteUrl] = detector.extract("Hello! This is a URL - lambdaworks.io") // extractedUrls: Set[AbsoluteUrl] = Set( // AbsoluteUrl( diff --git a/overview/overview_index/index.html b/overview/overview_index/index.html index 9f218663..384c3721 100644 --- a/overview/overview_index/index.html +++ b/overview/overview_index/index.html @@ -4,7 +4,7 @@ Overview | Scala URL Detector - + diff --git a/overview/overview_usage/index.html b/overview/overview_usage/index.html index bc8c9835..9933e896 100644 --- a/overview/overview_usage/index.html +++ b/overview/overview_usage/index.html @@ -4,7 +4,7 @@ Usage | Scala URL Detector - +