Package eu.clarin.sru.client.fcs.utils
Class ClarinFCSEndpointVersionAutodetector
- java.lang.Object
-
- eu.clarin.sru.client.fcs.utils.ClarinFCSEndpointVersionAutodetector
-
public class ClarinFCSEndpointVersionAutodetector extends Object
As stripped down client for auto-detecting the FCS version supported by an endpoint.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClarinFCSEndpointVersionAutodetector.AutodetectedFCSVersion
The auto-detected FCS version
-
Constructor Summary
Constructors Constructor Description ClarinFCSEndpointVersionAutodetector()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClarinFCSEndpointVersionAutodetector.AutodetectedFCSVersion
autodetectVersion(String endpointURI)
Try to auto-detected the FCS version of and endpoint.
-
-
-
Method Detail
-
autodetectVersion
public ClarinFCSEndpointVersionAutodetector.AutodetectedFCSVersion autodetectVersion(String endpointURI) throws SRUClientException
Try to auto-detected the FCS version of and endpoint.- Parameters:
endpointURI
- the URI of the endpoint- Returns:
- the detected version
- Throws:
SRUClientException
- if an error occurred
-
-