com.esri.arcgis.output
Class AIDriver

java.lang.Object
  extended bycom.esri.arcgis.output.AIDriver
All Implemented Interfaces:
IAIDriver, IStepProgressorSetup, ITrackCancelSetup, java.io.Serializable

public class AIDriver
extends java.lang.Object
implements IAIDriver, IStepProgressorSetup, ITrackCancelSetup

Superseded by ExportAI. Adobe Illustator Driver Class.

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(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
 
Method Summary
 void createAI(java.lang.String inputFileName, java.lang.String outputFileName)
          Converts the EMF file to a AI File.
 boolean equals(java.lang.Object o)
          Compare this object with another
 int getAIDriverOptions()
          Adobe Illustrator Driver options.
 IAIDriver getAsIAIDriver()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IStepProgressorSetup getAsIStepProgressorSetup()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 ITrackCancelSetup getAsITrackCancelSetup()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
static java.lang.String 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
 

Constructor Detail

AIDriver

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

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

AIDriver

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

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.
AIDriver theAIDriver = (AIDriver) obj;

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()

getAsIAIDriver

public IAIDriver getAsIAIDriver()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIStepProgressorSetup

public IStepProgressorSetup getAsIStepProgressorSetup()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsITrackCancelSetup

public ITrackCancelSetup getAsITrackCancelSetup()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


equals

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


hashCode

public int hashCode()
the hashcode for this object


createAI

public void createAI(java.lang.String inputFileName,
                     java.lang.String outputFileName)
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IAIDriver
Converts the EMF file to a AI File.

Supported Platforms

Windows, Solaris, Linux

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

getAIDriverOptions

public int getAIDriverOptions()
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: IAIDriver
Adobe Illustrator Driver options.

Supported Platforms

Windows, Solaris, Linux

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

setAIDriverOptions

public void setAIDriverOptions(int aiOptions)
                        throws java.io.IOException,
                               AutomationException
Description copied from interface: IAIDriver
Adobe Illustrator Driver options.

Supported Platforms

Windows, Solaris, Linux

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

setStepProgressor

public void setStepProgressor(IStepProgressor rhs1)
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: IStepProgressorSetup
Updates a Progress Bar.

Supported Platforms

Windows, Solaris, Linux

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

setTrackCancel

public void setTrackCancel(ITrackCancel rhs1)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: ITrackCancelSetup
Reacts to a Cancel.

Supported Platforms

Windows, Solaris, Linux

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