|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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. |
java.lang.String |
getURL()
The url where the replica data is located. |
boolean |
isCompressed()
Returns whether the data has been compressed. |
void |
setCompressed(boolean comp)
Returns 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(java.lang.String uRL)
The url where the replica data is located. |
| Method Detail |
public boolean isCompressed()
throws java.io.IOException,
AutomationException
The get_Compressed method returns whether the data has been compressed. Compressed data is stored in the .zip format.
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCompressed(boolean comp)
throws java.io.IOException,
AutomationException
comp - The comp (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getTransportType()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTransportType(int pTransport)
throws java.io.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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getURL()
throws java.io.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.
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setURL(java.lang.String uRL)
throws java.io.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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public byte[] getEmbeddedData()
throws java.io.IOException,
AutomationException
The EmbeddedData property returns a byte array with the actual data if the transport type is embedded.
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEmbeddedData(byte[] data)
throws java.io.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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setConnectionPropertiesByRef(IPropertySet connProps)
throws java.io.IOException,
AutomationException
connProps - A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPropertySet getConnectionProperties()
throws java.io.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.
java.io.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 | |||||||||