public class VariantStreamIO extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IVariantStreamIO, IVariantStream, IDocumentVersion
Description 'Helper object that performs stream IO for Variants.' 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 =
IID, IID76be2722_b1f7_4fe4_b358_bfd2198cda62, xxDummyIID, IID67a4d650_69e0_11d2_8500_0000f875b9c6, xxDummyIID, IIDecc43c55_0148_4ec1_bf87_b9a183c5dc98, xxDummy| Constructor and Description |
|---|
VariantStreamIO()
Constructs a VariantStreamIO using ArcGIS Engine.
|
VariantStreamIO(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
VariantStreamIO theVariantStreamIO = (VariantStreamIO) obj; |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
int |
getDocumentVersion()
The version of the document to save.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
int |
hashCode()
the hashcode for this object
|
java.lang.Object |
read()
Reads a value from a stream.
|
void |
release()
Release this COM object reference
|
void |
setDocumentVersion(int docVersion)
The version of the document to save.
|
void |
setStreamByRef(IStream rhs1)
The stream to perform variant stream reads and writes to.
|
void |
write(java.lang.Object value)
Writes a value to a stream.
|
public VariantStreamIO()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic VariantStreamIO(java.lang.Object obj)
throws java.io.IOException
VariantStreamIO theVariantStreamIO = (VariantStreamIO) obj;obj to VariantStreamIO.obj - an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic void setStreamByRef(IStream rhs1) throws java.io.IOException, AutomationException
setStreamByRef in interface IVariantStreamIOrhs1 - A reference to a com.esri.arcgis.system.IStream (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.Object read()
throws java.io.IOException,
AutomationException
read in interface IVariantStreamjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void write(java.lang.Object value)
throws java.io.IOException,
AutomationException
write in interface IVariantStreamvalue - A Variant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setDocumentVersion(int docVersion)
throws java.io.IOException,
AutomationException
setDocumentVersion in interface IDocumentVersiondocVersion - A com.esri.arcgis.system.esriArcGISVersion constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getDocumentVersion()
throws java.io.IOException,
AutomationException
getDocumentVersion in interface IDocumentVersionjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.