|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGDSData
Provides access to methods supported by a GDSReplicaData object.
The IGDSData interface is provides proprties that define how data is exported from or imported into a GeoDataServer. See the GDSData coclass for more information.
Method Summary | |
---|---|
IPropertySet |
getConnectionProperties()
The properties to be used when downloading the data (if transport type is URL). |
byte[] |
getEmbeddedData()
The embedded replica data. |
int |
getTransportType()
The transport type used to transfer the replica data. |
String |
getURL()
The url where the replica data is located. |
boolean |
isCompressed()
Indicates whether the data has been compressed. |
void |
setCompressed(boolean comp)
Indicates whether the data has been compressed. |
void |
setConnectionPropertiesByRef(IPropertySet connProps)
The properties to be used when downloading the data (if transport type is URL). |
void |
setEmbeddedData(byte[] data)
The embedded replica data. |
void |
setTransportType(int pTransport)
The transport type used to transfer the replica data. |
void |
setURL(String uRL)
The url where the replica data is located. |
Method Detail |
---|
boolean isCompressed() throws IOException, AutomationException
The get_Compressed method returns whether the data has been compressed. Compressed data is stored in the .zip format.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCompressed(boolean comp) throws IOException, AutomationException
comp
- The comp (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getTransportType() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setTransportType(int pTransport) throws IOException, AutomationException
The TransportType method returns a compression type. The CompressionType enumeration is used to specify the type of compression.
esriTransportType include the following:
0 - esriGDSTransportTypeEmbedded
1 - esriGDSTransportTypeUrl
2 - esriGDSTransportTypeFile
pTransport
- A com.esri.arcgis.geodatabasedistributed.esriGDSTransportType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getURL() throws IOException, AutomationException
The URL is used to specify the location of the local or virtual directory where the data is located. This is not set when the TransportType of embedded.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setURL(String uRL) throws IOException, AutomationException
The URL method returns a string. The URL is used to specify the location of the actual or virtual directory. Note: The default directory location is the Temp folder.
uRL
- The uRL (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.byte[] getEmbeddedData() throws IOException, AutomationException
The EmbeddedData property returns a byte array with the actual data if the transport type is embedded.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setEmbeddedData(byte[] data) throws IOException, AutomationException
The EmbeddedData property returns a Byte. The EmbeddedData has a byte array with the actual data. The client needs to create a file with this array. This property is valid for GeoDataServer and GDSData coclasses. Note: The default directory location is the Temp folder.
data
- An unsigned byte (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setConnectionPropertiesByRef(IPropertySet connProps) throws IOException, AutomationException
connProps
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPropertySet getConnectionProperties() throws IOException, AutomationException
The connection properties needed to connect to the URL specified in the IGDSData::URL property.
This property does not need to be set if the data is embedded or if the URL allows anonymous access. If the URL has http authentication enabled, then it is recommended you use an encrypted communication channel which can be enabled through ssl.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |