|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.catalog.harvest.clients.HRAbstractClient com.esri.gpt.catalog.harvest.clients.HRHttpClient com.esri.gpt.catalog.harvest.clients.HROAIClient
public class HROAIClient
OAI client. Provides somplete implementation of the client capable to access OAI harvest respositories.
Field Summary |
---|
Fields inherited from class com.esri.gpt.catalog.harvest.clients.HRHttpClient |
---|
FTP_URL_PFX, HTTP_URL_PFX, HTTPS_URL_PFX |
Constructor Summary | |
---|---|
HROAIClient(String hostUrl,
String prefix,
String set)
Creates instance of the client. |
Method Summary | |
---|---|
String |
getHostUrl()
Gets host URL. |
String |
getPrefix()
Gets prefix. |
String |
getSet()
Gets set. |
void |
ping()
Pings the server. |
void |
setHostUrl(String hostUrl)
Sets host URL. |
void |
setPrefix(String prefix)
Sets prefix. |
void |
setSet(String set)
Sets set. |
String |
toString()
Returns a string representation of the object. |
protected void |
validateProtocol()
Validates protocol definition. |
Methods inherited from class com.esri.gpt.catalog.harvest.clients.HRHttpClient |
---|
isFtp, isHttp, isHttps, openConnection, openConnection |
Methods inherited from class com.esri.gpt.catalog.harvest.clients.HRAbstractClient |
---|
getTimeout, isPingSupported |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HROAIClient(String hostUrl, String prefix, String set)
hostUrl
- host urlprefix
- prefixset
- setMethod Detail |
---|
public String getHostUrl()
getHostUrl
in class HRAbstractClient
public void setHostUrl(String hostUrl)
hostUrl
- host URLpublic String getPrefix()
public void setPrefix(String prefix)
prefix
- prefixpublic String getSet()
public void setSet(String set)
set
- setpublic void ping() throws HRInvalidProtocolException, HRConnectionException
HRInvalidProtocolException
- if repository reference is invalid
HRConnectionException
- if unable to connect to the repositorypublic String toString()
toString
in class HRAbstractClient
protected void validateProtocol() throws HRInvalidProtocolException
validateProtocol
in class HRHttpClient
HRInvalidProtocolException
- if invalid protocol definition
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |