public class DefaultCrawleableUriFactory extends Object implements CrawleableUriFactory
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOGGER |
| Constructor and Description |
|---|
DefaultCrawleableUriFactory() |
| Modifier and Type | Method and Description |
|---|---|
CrawleableUri |
create(String uri)
Creates a
CrawleableUri from the given URI String. |
CrawleableUri |
create(URI uri)
Creates a
CrawleableUri from the given URI instance. |
CrawleableUri |
create(URI uri,
UriType type)
|
public CrawleableUri create(String uri)
CrawleableUriFactoryCrawleableUri from the given URI String.create in interface CrawleableUriFactoryuri - the URI that should be crawleable.CrawleableUri instance based on the given URI string or
null, if the given URI did not fulfill the requirements of a
crawleable URI.public CrawleableUri create(URI uri)
CrawleableUriFactoryCrawleableUri from the given URI instance.create in interface CrawleableUriFactoryuri - the URI that should be crawleable.CrawleableUri instance based on the given URI
instance or null, if the given URI did not fulfill the
requirements of a crawleable URI.public CrawleableUri create(URI uri, UriType type)
CrawleableUriFactorycreate in interface CrawleableUriFactoryuri - the URI that should be crawleable.CrawleableUri instance based on the given URI
instance and the given UriType or null, if the given
URI did not fulfill the requirements of a crawleable URI.Copyright © 2017–2019. All rights reserved.