com.jniwrapper.win32.com.impl
Class IPersistStreamImpl

java.lang.Object
  extended bycom.jniwrapper.Parameter
      extended bycom.jniwrapper.win32.com.impl.IUnknownImpl
          extended bycom.jniwrapper.win32.com.impl.IPersistImpl
              extended bycom.jniwrapper.win32.com.impl.IPersistStreamImpl
All Implemented Interfaces:
AutoDeleteParameter, IPersist, IPersistStream, IUnknown, PointerParameter
Direct Known Subclasses:
IMonikerImpl

public class IPersistStreamImpl
extends IPersistImpl
implements IPersistStream

Represents COM interface IPersistStream.


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
  IPersistStreamImpl()
           
  IPersistStreamImpl(CLSID clsid, ClsCtx dwClsContext)
           
  IPersistStreamImpl(CLSID clsid, IUnknown pUnkOuter, ClsCtx dwClsContext)
           
  IPersistStreamImpl(IUnknown that)
           
protected IPersistStreamImpl(IUnknownImpl that)
           
 
Method Summary
 java.lang.Object clone()
           
 IID getIID()
           
 CY getSizeMax()
           
 Int32 isDirty()
           
 void load(IStream pStm)
           
 void save(IStream pStm, VariantBool fClearDirty)
           
 
Methods inherited from class com.jniwrapper.win32.com.impl.IPersistImpl
getClassID
 
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.com.IPersist
getClassID
 
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

IPersistStreamImpl

public IPersistStreamImpl()

IPersistStreamImpl

protected IPersistStreamImpl(IUnknownImpl that)
                      throws ComException

IPersistStreamImpl

public IPersistStreamImpl(IUnknown that)

IPersistStreamImpl

public IPersistStreamImpl(CLSID clsid,
                          ClsCtx dwClsContext)
                   throws ComException

IPersistStreamImpl

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

isDirty

public Int32 isDirty()
Specified by:
isDirty in interface IPersistStream

load

public void load(IStream pStm)
          throws ComException
Specified by:
load in interface IPersistStream
Parameters:
pStm - [in]
Throws:
ComException

save

public void save(IStream pStm,
                 VariantBool fClearDirty)
          throws ComException
Specified by:
save in interface IPersistStream
Parameters:
pStm - [in]
fClearDirty - [in]
Throws:
ComException

getSizeMax

public CY getSizeMax()
              throws ComException
Specified by:
getSizeMax in interface IPersistStream
Throws:
ComException

getIID

public IID getIID()
Overrides:
getIID in class IPersistImpl

clone

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