com.esri.arcgis.gisclient
Class Uploader

java.lang.Object
  extended by com.esri.arcgis.gisclient.Uploader
All Implemented Interfaces:
IAdminUploader, IServiceUploader, IUploader, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class Uploader
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IUploader, IAdminUploader, IServiceUploader

COM Class 'Uploader'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriGISClient.olb'

Description 'The uploader object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.gisclient.IUploader
IID, IID0788eaf6_42ac_404a_894e_e0330782912a, xxDummy
 
Fields inherited from interface com.esri.arcgis.gisclient.IAdminUploader
IID, IID657e7708_500d_47ec_8e96_2327083ecdc0, xxDummy
 
Fields inherited from interface com.esri.arcgis.gisclient.IServiceUploader
IID, IID0fb7b5a0_f5c5_412b_aa10_8d34b2d583d9, xxDummy
 
Constructor Summary
Uploader()
          Constructs a Uploader using ArcGIS Engine.
Uploader(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
Uploader theUploader = (Uploader) obj;
 
Method Summary
 IUploadItem adminUploadFile(java.lang.String file, java.lang.String description, ITrackCancel pTrackCancel)
          .
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getSingleUploadThresholdInBytes()
          .
 int getTimeoutInSecs()
          .
 IUploadsClient getUploadsClient()
          .
 int hashCode()
          the hashcode for this object
 void init(IAGSServerConnection pConn)
          .
 void release()
          Release a Uploader.
 IUploadItem serviceUploadFile(java.lang.String file, java.lang.String description, IAGSServerObjectName pTargetService, ITrackCancel pTrackCancel)
          .
 void setSingleUploadThresholdInBytes(int pThreshold)
          .
 void setTimeoutInSecs(int pTimeout)
          .
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Uploader

public Uploader()
         throws java.io.IOException,
                java.net.UnknownHostException
Constructs a Uploader using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

Uploader

public Uploader(java.lang.Object obj)
         throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
Uploader theUploader = (Uploader) obj;

Construct a Uploader using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to Uploader.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a Uploader.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

setSingleUploadThresholdInBytes

public void setSingleUploadThresholdInBytes(int pThreshold)
                                     throws java.io.IOException,
                                            AutomationException
.

Specified by:
setSingleUploadThresholdInBytes in interface IUploader
Parameters:
pThreshold - The pThreshold (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSingleUploadThresholdInBytes

public int getSingleUploadThresholdInBytes()
                                    throws java.io.IOException,
                                           AutomationException
.

Specified by:
getSingleUploadThresholdInBytes in interface IUploader
Returns:
The pThreshold
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTimeoutInSecs

public void setTimeoutInSecs(int pTimeout)
                      throws java.io.IOException,
                             AutomationException
.

Specified by:
setTimeoutInSecs in interface IUploader
Parameters:
pTimeout - The pTimeout (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTimeoutInSecs

public int getTimeoutInSecs()
                     throws java.io.IOException,
                            AutomationException
.

Specified by:
getTimeoutInSecs in interface IUploader
Returns:
The pTimeout
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUploadsClient

public IUploadsClient getUploadsClient()
                                throws java.io.IOException,
                                       AutomationException
.

Specified by:
getUploadsClient in interface IUploader
Returns:
A reference to a com.esri.arcgis.gisclient.IUploadsClient
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

init

public void init(IAGSServerConnection pConn)
          throws java.io.IOException,
                 AutomationException
.

Specified by:
init in interface IUploader
Parameters:
pConn - A reference to a com.esri.arcgis.gisclient.IAGSServerConnection (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

adminUploadFile

public IUploadItem adminUploadFile(java.lang.String file,
                                   java.lang.String description,
                                   ITrackCancel pTrackCancel)
                            throws java.io.IOException,
                                   AutomationException
.

Specified by:
adminUploadFile in interface IAdminUploader
Parameters:
file - The file (in)
description - The description (in)
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Returns:
A reference to a com.esri.arcgis.gisclient.IUploadItem
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

serviceUploadFile

public IUploadItem serviceUploadFile(java.lang.String file,
                                     java.lang.String description,
                                     IAGSServerObjectName pTargetService,
                                     ITrackCancel pTrackCancel)
                              throws java.io.IOException,
                                     AutomationException
.

Specified by:
serviceUploadFile in interface IServiceUploader
Parameters:
file - The file (in)
description - The description (in)
pTargetService - A reference to a com.esri.arcgis.gisclient.IAGSServerObjectName (in)
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Returns:
A reference to a com.esri.arcgis.gisclient.IUploadItem
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.