|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.system.VariantStreamIO
public class VariantStreamIO
Helper object that performs stream IO for Variants.
Constructor Summary | |
---|---|
VariantStreamIO()
Constructs a VariantStreamIO using ArcGIS Engine. |
|
VariantStreamIO(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. VariantStreamIO theVariantStreamIO = (VariantStreamIO) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getDocumentVersion()
The version of the document to save. |
int |
hashCode()
the hashcode for this object |
Object |
read()
Reads a value from a stream. |
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(Object value)
Writes a value to a stream. |
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 |
---|
public VariantStreamIO() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic VariantStreamIO(Object obj) throws IOException
VariantStreamIO theVariantStreamIO = (VariantStreamIO) obj;
obj
to VariantStreamIO
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void setStreamByRef(IStream rhs1) throws IOException, AutomationException
setStreamByRef
in interface IVariantStreamIO
rhs1
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object read() throws IOException, AutomationException
read
in interface IVariantStream
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void write(Object value) throws IOException, AutomationException
write
in interface IVariantStream
value
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDocumentVersion(int docVersion) throws IOException, AutomationException
setDocumentVersion
in interface IDocumentVersion
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDocumentVersion() throws IOException, AutomationException
Determines which version an object is persisted. This can be useful when saving an object ObjectStream or MemoryBlobStream and you want the version of that object to be compatible with previous releases of ArcGIS. Not all persistable objects implement IDocumentVersion; you should ensure the object supports this interface before accessing this property.
getDocumentVersion
in interface IDocumentVersion
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |