com.esri.arcgis.system
Interface IStream

All Superinterfaces:
ISequentialStream, java.io.Serializable
All Known Subinterfaces:
IBlobStream, IMemoryBlobStream, IMemoryBlobStream2, IObjectStream
All Known Implementing Classes:
FileStream, IBlobStreamProxy, IMemoryBlobStream2Proxy, IMemoryBlobStreamProxy, IObjectStreamProxy, IStreamProxy, MemoryBlobStream, ObjectStream, XMLStream

public interface IStream
extends ISequentialStream, java.io.Serializable

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Description

IStream is a Microsoft interface. Please refer to MSDN for information about this interface.


Method Summary
 void commit(int grfCommitFlags)
          Supported Platforms
 void esri_clone(IStream[] ppstm)
           
 void lockRegion(_ULARGE_INTEGER libOffset, _ULARGE_INTEGER cb, int dwLockType)
          Supported Platforms
 void remoteCopyTo(IStream pstm, _ULARGE_INTEGER cb, _ULARGE_INTEGER[] pcbRead, _ULARGE_INTEGER[] pcbWritten)
          Supported Platforms
 void remoteSeek(_LARGE_INTEGER dlibMove, int dwOrigin, _ULARGE_INTEGER[] plibNewPosition)
          Supported Platforms
 void revert()
          Supported Platforms
 void setSize(_ULARGE_INTEGER libNewSize)
           
 void stat(tagSTATSTG[] pstatstg, int grfStatFlag)
          Supported Platforms
 void unlockRegion(_ULARGE_INTEGER libOffset, _ULARGE_INTEGER cb, int dwLockType)
          Supported Platforms
 
Methods inherited from interface com.esri.arcgis.system.ISequentialStream
remoteRead, remoteWrite
 

Method Detail

remoteSeek

public void remoteSeek(_LARGE_INTEGER dlibMove,
                       int dwOrigin,
                       _ULARGE_INTEGER[] plibNewPosition)
                throws java.io.IOException,
                       AutomationException

Supported Platforms

Windows, Solaris, Linux

Description

IStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSize

public void setSize(_ULARGE_INTEGER libNewSize)
             throws java.io.IOException,
                    AutomationException
Parameters:
libNewSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remoteCopyTo

public void remoteCopyTo(IStream pstm,
                         _ULARGE_INTEGER cb,
                         _ULARGE_INTEGER[] pcbRead,
                         _ULARGE_INTEGER[] pcbWritten)
                  throws java.io.IOException,
                         AutomationException

Supported Platforms

Windows, Solaris, Linux

Description

IStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

commit

public void commit(int grfCommitFlags)
            throws java.io.IOException,
                   AutomationException

Supported Platforms

Windows, Solaris, Linux

Description

IStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Parameters:
grfCommitFlags - The grfCommitFlags (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

revert

public void revert()
            throws java.io.IOException,
                   AutomationException

Supported Platforms

Windows, Solaris, Linux

Description

IStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

lockRegion

public void lockRegion(_ULARGE_INTEGER libOffset,
                       _ULARGE_INTEGER cb,
                       int dwLockType)
                throws java.io.IOException,
                       AutomationException

Supported Platforms

Windows, Solaris, Linux

Description

IStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Parameters:
libOffset - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (in)
cb - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (in)
dwLockType - The dwLockType (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

unlockRegion

public void unlockRegion(_ULARGE_INTEGER libOffset,
                         _ULARGE_INTEGER cb,
                         int dwLockType)
                  throws java.io.IOException,
                         AutomationException

Supported Platforms

Windows, Solaris, Linux

Description

IStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Parameters:
libOffset - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (in)
cb - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (in)
dwLockType - The dwLockType (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stat

public void stat(tagSTATSTG[] pstatstg,
                 int grfStatFlag)
          throws java.io.IOException,
                 AutomationException

Supported Platforms

Windows, Solaris, Linux

Description

IStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Parameters:
pstatstg - A Structure: com.esri.arcgis.system.tagSTATSTG (out: use single element array)
grfStatFlag - The grfStatFlag (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_clone

public void esri_clone(IStream[] ppstm)
                throws java.io.IOException,
                       AutomationException
Parameters:
ppstm - A reference to a com.esri.arcgis.system.IStream (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.