com.esri.arcgis.datasourcesGDB
Class ScratchWorkspaceFactory

java.lang.Object
  extended by com.esri.arcgis.datasourcesGDB.ScratchWorkspaceFactory
All Implemented Interfaces:
IScratchWorkspaceFactory, IScratchWorkspaceFactory2, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class ScratchWorkspaceFactory
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IScratchWorkspaceFactory, IScratchWorkspaceFactory2

COM Class 'ScratchWorkspaceFactory'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriDataSourcesGDB.olb'

Description 'Scratch workspace factory object (singleton).' 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.geodatabase.IScratchWorkspaceFactory2
IID, IIDceb80992_ebc0_482b_9cd9_9974ab40d4c2, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IScratchWorkspaceFactory
IID06dc8e4b_951c_11d2_ae75_080009ec732a
 
Constructor Summary
ScratchWorkspaceFactory()
          Constructs a ScratchWorkspaceFactory using ArcGIS Engine.
ScratchWorkspaceFactory(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ScratchWorkspaceFactory theScratchWorkspaceFactory = (ScratchWorkspaceFactory) obj;
 
Method Summary
 IWorkspace createNewScratchWorkspace()
          Creates and returns a new scratch workspace.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 IWorkspace getCurrentScratchWorkspace()
          The current scratch workspace.
 IWorkspace getDefaultScratchWorkspace()
          The default scratch workspace.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void release()
          Release a ScratchWorkspaceFactory.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScratchWorkspaceFactory

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

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

ScratchWorkspaceFactory

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

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

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 ScratchWorkspaceFactory.

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

getDefaultScratchWorkspace

public IWorkspace getDefaultScratchWorkspace()
                                      throws java.io.IOException,
                                             AutomationException
The default scratch workspace.

Specified by:
getDefaultScratchWorkspace in interface IScratchWorkspaceFactory
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspace
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createNewScratchWorkspace

public IWorkspace createNewScratchWorkspace()
                                     throws java.io.IOException,
                                            AutomationException
Creates and returns a new scratch workspace.

Specified by:
createNewScratchWorkspace in interface IScratchWorkspaceFactory
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspace
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCurrentScratchWorkspace

public IWorkspace getCurrentScratchWorkspace()
                                      throws java.io.IOException,
                                             AutomationException
The current scratch workspace.

Specified by:
getCurrentScratchWorkspace in interface IScratchWorkspaceFactory2
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspace
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.