public class MemoryBlobStream extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IMemoryBlobStream, IMemoryBlobStream2, IMemoryBlobStreamVariant, IDocumentVersion, ISupportErrorInfo
Description 'Memory blob stream object.' 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, IID5ce09f2c_9c93_4a3b_83ad_e12fb6a67ad4, xxDummyIIDbc92995f_e736_11d0_9a93_080009ec734bIIDbc92995e_e736_11d0_9a93_080009ec734bIID0000000c_0000_0000_c000_000000000046IID0c733a30_2a1c_11ce_ade5_00aa0044773dIID, IID68f0ab65_e2b7_40d8_aa3b_3b7764607dd3, xxDummyIID, IIDecc43c55_0148_4ec1_bf87_b9a183c5dc98, xxDummyIID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy| Constructor and Description |
|---|
MemoryBlobStream()
Constructs a MemoryBlobStream using ArcGIS Engine.
|
MemoryBlobStream(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
MemoryBlobStream theMemoryBlobStream = (MemoryBlobStream) obj; |
| Modifier and Type | Method and Description |
|---|---|
void |
attachToMemory(byte[] blobMemory,
int size,
int transferOwnership)
Attaches the stream to memory.
|
void |
commit(int grfCommitFlags)
commit
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
void |
esri_clone(IStream[] ppstm)
esri_clone
|
void |
exportToVariant(java.lang.Object[] value)
Copies the memory to a variant that contains an array of bytes.
|
int |
getAllocSize()
The allocated size of the stream.
|
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.
|
void |
getMemory(byte[] blobMemory,
int[] size)
The memory of the blob stream.
|
int |
getPaddingSize()
The allocated size of the stream.
|
int |
getSize()
The size of the stream.
|
int |
hashCode()
the hashcode for this object
|
void |
importFromMemory(byte[] blobMemory,
int size)
Import using another blob.
|
void |
importFromVariant(java.lang.Object value)
Imports from the array of bytes in the variant.
|
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo
|
void |
loadFromFile(java.lang.String fileName)
Loads a stream from the specified file.
|
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 |
revert()
revert
|
void |
saveToFile(java.lang.String fileName)
Saves the stream to the specified file.
|
void |
setAllocSize(int size)
The allocated size of the stream.
|
void |
setDocumentVersion(int docVersion)
The version of the document to save.
|
void |
setPaddingSize(int size)
The allocated size of the stream.
|
void |
setSize(_ULARGE_INTEGER libNewSize)
setSize
|
void |
setSize(int size)
The size of the stream.
|
void |
stat(tagSTATSTG[] pstatstg,
int grfStatFlag)
stat
|
void |
unlockRegion(_ULARGE_INTEGER libOffset,
_ULARGE_INTEGER cb,
int dwLockType)
unlockRegion
|
public MemoryBlobStream()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic MemoryBlobStream(java.lang.Object obj)
throws java.io.IOException
MemoryBlobStream theMemoryBlobStream = (MemoryBlobStream) obj;obj to MemoryBlobStream.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 attachToMemory(byte[] blobMemory,
int size,
int transferOwnership)
throws java.io.IOException,
AutomationException
attachToMemory in interface IMemoryBlobStreamblobMemory - An unsigned byte (in)size - The size (in)transferOwnership - The transferOwnership (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void importFromMemory(byte[] blobMemory,
int size)
throws java.io.IOException,
AutomationException
importFromMemory in interface IMemoryBlobStreamblobMemory - An unsigned byte (in)size - The size (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getMemory(byte[] blobMemory,
int[] size)
throws java.io.IOException,
AutomationException
getMemory in interface IMemoryBlobStreamblobMemory - An unsigned byte (out: use single element array)size - The size (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getSize()
throws java.io.IOException,
AutomationException
getSize in interface IBlobStreamjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setSize(int size)
throws java.io.IOException,
AutomationException
setSize in interface IBlobStreamsize - The size (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void saveToFile(java.lang.String fileName)
throws java.io.IOException,
AutomationException
saveToFile in interface IBlobStreamfileName - The fileName (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void loadFromFile(java.lang.String fileName)
throws java.io.IOException,
AutomationException
loadFromFile in interface IBlobStreamfileName - The fileName (in)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 IStreamdlibMove - 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 IStreamlibNewSize - 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 IStreampstm - 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 IStreamgrfCommitFlags - 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 IStreamjava.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 IStreamlibOffset - 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 IStreamlibOffset - 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 IStreampstatstg - 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 IStreamppstm - 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 ISequentialStreampv - 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 ISequentialStreampv - 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 int getAllocSize()
throws java.io.IOException,
AutomationException
getAllocSize in interface IMemoryBlobStream2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setAllocSize(int size)
throws java.io.IOException,
AutomationException
setAllocSize in interface IMemoryBlobStream2size - The size (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getPaddingSize()
throws java.io.IOException,
AutomationException
getPaddingSize in interface IMemoryBlobStream2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setPaddingSize(int size)
throws java.io.IOException,
AutomationException
setPaddingSize in interface IMemoryBlobStream2size - The size (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void exportToVariant(java.lang.Object[] value)
throws java.io.IOException,
AutomationException
exportToVariant in interface IMemoryBlobStreamVariantvalue - A Variant (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void importFromVariant(java.lang.Object value)
throws java.io.IOException,
AutomationException
importFromVariant in interface IMemoryBlobStreamVariantvalue - 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.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.