public interface ExternalLinkChecker
| Modifier and Type | Method and Description |
|---|---|
int |
check(String uri)
Checks the given uri.
|
LinkInfo |
checkLink(String link,
boolean force)
Checks the given link store in the repository and checks it for validity.
|
void |
checkLinks()
Walks through the links stored in the repository and checks them for validity
if necessary or removes them from the repository if they are no longer used.
|
int check(String uri) throws UnknownServiceException, URISyntaxException, ConnectException, NoRouteToHostException, UnknownHostException, IOException
uri - the uri to checkUnknownServiceException - if the protocol is not supportedURISyntaxException - if the uri is malformedConnectException - if the connect failedNoRouteToHostException - if there is no route to the hostUnknownHostException - if the host is unknownIOException - if a general I/O error occuredvoid checkLinks()
Copyright © 2010 - 2020 Adobe. All Rights Reserved