public class ObjectStream extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IObjectStream, IDocumentVersion
Description 'Specialized kind of IStream for objects.' 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, IID18a45ba7_1266_11d1_86ad_0000f8751720, xxDummy
IID0000000c_0000_0000_c000_000000000046
IID0c733a30_2a1c_11ce_ade5_00aa0044773d
IID, IIDecc43c55_0148_4ec1_bf87_b9a183c5dc98, xxDummy
Constructor and Description |
---|
ObjectStream()
Constructs a ObjectStream using ArcGIS Engine.
|
ObjectStream(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
ObjectStream theObjectStream = (ObjectStream) obj; |
Modifier and Type | Method and Description |
---|---|
void |
commit(int grfCommitFlags)
commit
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
void |
esri_clone(IStream[] ppstm)
esri_clone
|
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.
|
IStream |
getStream()
The aggregated stream object.
|
java.lang.String |
getVersion()
The software version for the stream.
|
int |
hashCode()
the hashcode for this object
|
java.lang.Object |
loadObject(GUID riid,
java.lang.Object pUnkOuter)
Load an object from the specified stream.
|
void |
lockRegion(_ULARGE_INTEGER libOffset,
_ULARGE_INTEGER cb,
int dwLockType)
lockRegion
|
void |
release()
Release this COM object reference
|
void |
remoteCopyTo(IStream pstm,
_ULARGE_INTEGER cb,
_ULARGE_INTEGER[] pcbRead,
_ULARGE_INTEGER[] pcbWritten)
remoteCopyTo
|
void |
remoteRead(byte[] pv,
int cb,
int[] pcbRead)
remoteRead
|
void |
remoteSeek(_LARGE_INTEGER dlibMove,
int dwOrigin,
_ULARGE_INTEGER[] plibNewPosition)
remoteSeek
|
void |
remoteWrite(byte[] pv,
int cb,
int[] pcbWritten)
remoteWrite
|
void |
replaceObject(java.lang.Object unknown)
Replaces the current object with the object in the the specified stream.
|
void |
revert()
revert
|
void |
saveObject(java.lang.Object pUnk)
Store an object to the specified stream.
|
void |
setDocumentVersion(int docVersion)
The version of the document to save.
|
void |
setSize(_ULARGE_INTEGER libNewSize)
setSize
|
void |
setStreamByRef(IStream ppStream)
The aggregated stream object.
|
void |
setVersion(java.lang.String versionSpecifier)
The software version for the stream.
|
void |
stat(tagSTATSTG[] pstatstg,
int grfStatFlag)
stat
|
void |
unlockRegion(_ULARGE_INTEGER libOffset,
_ULARGE_INTEGER cb,
int dwLockType)
unlockRegion
|
public ObjectStream() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic ObjectStream(java.lang.Object obj) throws java.io.IOException
ObjectStream theObjectStream = (ObjectStream) obj;
obj
to ObjectStream
.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 ppStream) throws java.io.IOException, AutomationException
setStreamByRef
in interface IObjectStream
ppStream
- 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 IStream getStream() throws java.io.IOException, AutomationException
getStream
in interface IObjectStream
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void saveObject(java.lang.Object pUnk) throws java.io.IOException, AutomationException
saveObject
in interface IObjectStream
pUnk
- A reference to another Object (IUnknown) (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object loadObject(GUID riid, java.lang.Object pUnkOuter) throws java.io.IOException, AutomationException
loadObject
in interface IObjectStream
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)pUnkOuter
- A reference to another Object (IUnknown) (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void replaceObject(java.lang.Object unknown) throws java.io.IOException, AutomationException
replaceObject
in interface IObjectStream
unknown
- A reference to another Object (IUnknown) (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setVersion(java.lang.String versionSpecifier) throws java.io.IOException, AutomationException
setVersion
in interface IObjectStream
versionSpecifier
- The versionSpecifier (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getVersion() throws java.io.IOException, AutomationException
getVersion
in interface IObjectStream
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void remoteSeek(_LARGE_INTEGER dlibMove, int dwOrigin, _ULARGE_INTEGER[] plibNewPosition) throws java.io.IOException, AutomationException
remoteSeek
in interface IStream
dlibMove
- A Structure: com.esri.arcgis.system._LARGE_INTEGER (in)dwOrigin
- The dwOrigin (in)plibNewPosition
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setSize(_ULARGE_INTEGER libNewSize) throws java.io.IOException, AutomationException
setSize
in interface IStream
libNewSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void remoteCopyTo(IStream pstm, _ULARGE_INTEGER cb, _ULARGE_INTEGER[] pcbRead, _ULARGE_INTEGER[] pcbWritten) throws java.io.IOException, AutomationException
remoteCopyTo
in interface IStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)cb
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (in)pcbRead
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)pcbWritten
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void commit(int grfCommitFlags) throws java.io.IOException, AutomationException
commit
in interface IStream
grfCommitFlags
- The grfCommitFlags (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void revert() throws java.io.IOException, AutomationException
revert
in interface IStream
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void lockRegion(_ULARGE_INTEGER libOffset, _ULARGE_INTEGER cb, int dwLockType) throws java.io.IOException, AutomationException
lockRegion
in interface IStream
libOffset
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (in)cb
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (in)dwLockType
- The dwLockType (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void unlockRegion(_ULARGE_INTEGER libOffset, _ULARGE_INTEGER cb, int dwLockType) throws java.io.IOException, AutomationException
unlockRegion
in interface IStream
libOffset
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (in)cb
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (in)dwLockType
- The dwLockType (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void stat(tagSTATSTG[] pstatstg, int grfStatFlag) throws java.io.IOException, AutomationException
stat
in interface IStream
pstatstg
- A Structure: com.esri.arcgis.system.tagSTATSTG (out: use single element array)grfStatFlag
- The grfStatFlag (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void esri_clone(IStream[] ppstm) throws java.io.IOException, AutomationException
esri_clone
in interface IStream
ppstm
- A reference to a com.esri.arcgis.system.IStream (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void remoteRead(byte[] pv, int cb, int[] pcbRead) throws java.io.IOException, AutomationException
remoteRead
in interface ISequentialStream
pv
- An unsigned byte (out: use single element array)cb
- The cb (in)pcbRead
- The pcbRead (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void remoteWrite(byte[] pv, int cb, int[] pcbWritten) throws java.io.IOException, AutomationException
remoteWrite
in interface ISequentialStream
pv
- An unsigned byte (in)cb
- The cb (in)pcbWritten
- The pcbWritten (out: use single element array)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.