com.jniwrapper.win32.stg.impl
Class IStreamImpl

java.lang.Object
  extended bycom.jniwrapper.Parameter
      extended bycom.jniwrapper.win32.com.impl.IUnknownImpl
          extended bycom.jniwrapper.win32.stg.impl.ISequentialStreamImpl
              extended bycom.jniwrapper.win32.stg.impl.IStreamImpl
All Implemented Interfaces:
AutoDeleteParameter, ISequentialStream, IStream, IUnknown, PointerParameter

public class IStreamImpl
extends ISequentialStreamImpl
implements IStream

Represents COM interface IStream.


Nested Class Summary
 
Nested classes inherited from class com.jniwrapper.win32.com.impl.IUnknownImpl
IUnknownImpl.MemoryBufferImpl
 
Field Summary
static java.lang.String INTERFACE_IDENTIFIER
           
 
Fields inherited from class com.jniwrapper.win32.com.impl.IUnknownImpl
DebugComfyJ, LICENSE_TYPE, PTR_NULL
 
Fields inherited from class com.jniwrapper.Parameter
V
 
Constructor Summary
  IStreamImpl()
           
  IStreamImpl(CLSID clsid, ClsCtx dwClsContext)
           
  IStreamImpl(CLSID clsid, IUnknown pUnkOuter, ClsCtx dwClsContext)
           
  IStreamImpl(IUnknown that)
           
protected IStreamImpl(IUnknownImpl that)
           
 
Method Summary
 java.lang.Object clone()
           
 void commit(StgCommit grfCommitFlags)
           
 void copyTo(IStream pstm, Int64 cb, Int64 pcbRead, Int64 pcbWritten)
           
 IID getIID()
           
 IStream invokeClone()
           
 void lockRegion(Int64 libOffset, Int64 cb, LockType dwLockType)
           
 void revert()
           
 Int64 seek(Int64 dlibMove, StreamSeek dwOrigin)
           
 void setSize(Int64 libNewSize)
           
 StatStg stat(StatFlag grfStatFlag)
           
 void unlockRegion(Int64 libOffset, Int64 cb, LockType dwLockType)
           
 
Methods inherited from class com.jniwrapper.win32.stg.impl.ISequentialStreamImpl
read, write
 
Methods inherited from class com.jniwrapper.win32.com.impl.IUnknownImpl
acceptIOPerformer, addRef, asVoidPointer, dumpVTBL, equals, fromVoidPointer, getDebugInfo, getInterfaceIdentifier, getLength, hashCode, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, isAutoDelete, isNull, isSameObject, queryInterface, queryInterface, read, release, setAutoDelete, setNull, setValue, write
 
Methods inherited from class com.jniwrapper.Parameter
, a, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, indent, pop, push, read, read, setDataBuffer, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.jniwrapper.win32.stg.ISequentialStream
read, write
 
Methods inherited from interface com.jniwrapper.win32.com.IUnknown
addRef, isNull, queryInterface, release, setNull
 
Methods inherited from interface com.jniwrapper.AutoDeleteParameter
isAutoDelete, setAutoDelete
 

Field Detail

INTERFACE_IDENTIFIER

public static final java.lang.String INTERFACE_IDENTIFIER
See Also:
Constant Field Values
Constructor Detail

IStreamImpl

public IStreamImpl()

IStreamImpl

protected IStreamImpl(IUnknownImpl that)
               throws ComException

IStreamImpl

public IStreamImpl(IUnknown that)

IStreamImpl

public IStreamImpl(CLSID clsid,
                   ClsCtx dwClsContext)
            throws ComException

IStreamImpl

public IStreamImpl(CLSID clsid,
                   IUnknown pUnkOuter,
                   ClsCtx dwClsContext)
            throws ComException
Method Detail

seek

public Int64 seek(Int64 dlibMove,
                  StreamSeek dwOrigin)
           throws ComException
Specified by:
seek in interface IStream
Parameters:
dlibMove - [in]
dwOrigin - [in]
Throws:
ComException

setSize

public void setSize(Int64 libNewSize)
             throws ComException
Specified by:
setSize in interface IStream
Parameters:
libNewSize - [in]
Throws:
ComException

copyTo

public void copyTo(IStream pstm,
                   Int64 cb,
                   Int64 pcbRead,
                   Int64 pcbWritten)
            throws ComException
Specified by:
copyTo in interface IStream
Parameters:
pstm - [in]
cb - [in]
pcbRead - [out]
pcbWritten - [out]
Throws:
ComException

commit

public void commit(StgCommit grfCommitFlags)
            throws ComException
Specified by:
commit in interface IStream
Parameters:
grfCommitFlags - [in]
Throws:
ComException

revert

public void revert()
            throws ComException
Specified by:
revert in interface IStream
Throws:
ComException

lockRegion

public void lockRegion(Int64 libOffset,
                       Int64 cb,
                       LockType dwLockType)
                throws ComException
Specified by:
lockRegion in interface IStream
Parameters:
libOffset - [in]
cb - [in]
dwLockType - [in]
Throws:
ComException

unlockRegion

public void unlockRegion(Int64 libOffset,
                         Int64 cb,
                         LockType dwLockType)
                  throws ComException
Specified by:
unlockRegion in interface IStream
Parameters:
libOffset - [in]
cb - [in]
dwLockType - [in]
Throws:
ComException

stat

public StatStg stat(StatFlag grfStatFlag)
             throws ComException
Specified by:
stat in interface IStream
Parameters:
grfStatFlag - [in]
Throws:
ComException

invokeClone

public IStream invokeClone()
                    throws ComException
Specified by:
invokeClone in interface IStream
Throws:
ComException

clone

public java.lang.Object clone()
Overrides:
clone in class ISequentialStreamImpl

getIID

public IID getIID()
Overrides:
getIID in class ISequentialStreamImpl