HtmlUrls

object HtmlUrls extends HtmlUrls
Companion:
class
trait HtmlUrls
class Object
trait Matchable
class Any

Value members

Inherited methods

def isAlive(url: String, html: NodeSeq, others: Map[String, NodeSeq], rootDirectory: DirectoryPath): Boolean
Returns:

true if it is possible to connect to this url through http or locally

Inherited from:
HtmlUrls
def isAliveAnchor(url: String, html: String): Boolean

This method is used when the html file can't be parsed

This method is used when the html file can't be parsed

Returns:

true if the url is an anchor in a String document

Inherited from:
HtmlUrls
def isAliveAnchor(url: String, html: NodeSeq): Boolean
Returns:

true if the url is an anchor in the document

Inherited from:
HtmlUrls
def isAliveAnchorInFile(url: String, others: Map[String, NodeSeq], rootDirectory: DirectoryPath): Boolean

look for the anchor in another file to be written to disk by specs2 or a static file already generated

look for the anchor in another file to be written to disk by specs2 or a static file already generated

Returns:

true if the url is found

Inherited from:
HtmlUrls
def isAliveFile(url: String, others: Map[String, NodeSeq], rootDirectory: DirectoryPath): Boolean
Returns:

true if the url can be accessed on the file system

Inherited from:
HtmlUrls
def isAliveResult(url: String, html: NodeSeq, others: Map[String, NodeSeq], rootDirectory: DirectoryPath): Result
Returns:

a Success if the url can be accessed, a Failure otherwise

Inherited from:
HtmlUrls
def isDead(url: String, html: NodeSeq, others: Map[String, NodeSeq], rootDirectory: DirectoryPath): Boolean
Returns:

true if the url cannot be accessed through http or on the file system

Inherited from:
HtmlUrls