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, xxDummy
IID, IID67a4d650_69e0_11d2_8500_0000f875b9c6, xxDummy
IID, 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.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void setStreamByRef(IStream rhs1) throws java.io.IOException, AutomationException
setStreamByRef
in interface IVariantStreamIO
rhs1
- 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 IVariantStream
java.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 IVariantStream
value
- 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 IDocumentVersion
docVersion
- 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 IDocumentVersion
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.