com.esri.arcgis.output
Class AIDriver

java.lang.Object
  extended by com.esri.arcgis.output.AIDriver
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IAIDriver, IStepProgressorSetup, ITrackCancelSetup, Serializable

public class AIDriver
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IAIDriver, IStepProgressorSetup, ITrackCancelSetup

Superseded by ExportAI. Adobe Illustator Driver Class.

Superseded By

ExportAI

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
AIDriver()
          Constructs a AIDriver using ArcGIS Engine.
AIDriver(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
AIDriver theAIDriver = (AIDriver) obj;
 
Method Summary
 void createAI(String inputFileName, String outputFileName)
          Converts the EMF file to a AI File.
 boolean equals(Object o)
          Compare this object with another
 int getAIDriverOptions()
          Adobe Illustrator Driver options.
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void setAIDriverOptions(int aiOptions)
          Adobe Illustrator Driver options.
 void setStepProgressor(IStepProgressor rhs1)
          Updates a Progress Bar.
 void setTrackCancel(ITrackCancel rhs1)
          Reacts to a Cancel.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

AIDriver

public AIDriver()
         throws IOException,
                UnknownHostException
Constructs a AIDriver using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

AIDriver

public AIDriver(Object obj)
         throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
AIDriver theAIDriver = (AIDriver) obj;

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

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

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

createAI

public void createAI(String inputFileName,
                     String outputFileName)
              throws IOException,
                     AutomationException
Converts the EMF file to a AI File.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
createAI in interface IAIDriver
Parameters:
inputFileName - The inputFileName (in)
outputFileName - The outputFileName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAIDriverOptions

public int getAIDriverOptions()
                       throws IOException,
                              AutomationException
Adobe Illustrator Driver options.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getAIDriverOptions in interface IAIDriver
Returns:
A com.esri.arcgis.output.esriAIDriverOptions constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAIDriverOptions

public void setAIDriverOptions(int aiOptions)
                        throws IOException,
                               AutomationException
Adobe Illustrator Driver options.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setAIDriverOptions in interface IAIDriver
Parameters:
aiOptions - A com.esri.arcgis.output.esriAIDriverOptions constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStepProgressor

public void setStepProgressor(IStepProgressor rhs1)
                       throws IOException,
                              AutomationException
Updates a Progress Bar.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setStepProgressor in interface IStepProgressorSetup
Parameters:
rhs1 - A reference to a com.esri.arcgis.system.IStepProgressor (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTrackCancel

public void setTrackCancel(ITrackCancel rhs1)
                    throws IOException,
                           AutomationException
Reacts to a Cancel.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setTrackCancel in interface ITrackCancelSetup
Parameters:
rhs1 - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.