com.jniwrapper.win32.stg.impl
Class IStorageImpl

java.lang.Object
  extended bycom.jniwrapper.Parameter
      extended bycom.jniwrapper.win32.com.impl.IUnknownImpl
          extended bycom.jniwrapper.win32.stg.impl.IStorageImpl
All Implemented Interfaces:
AutoDeleteParameter, IStorage, IUnknown, PointerParameter

public class IStorageImpl
extends IUnknownImpl
implements IStorage

Represents COM interface IStorage.


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
  IStorageImpl()
           
  IStorageImpl(CLSID clsid, ClsCtx dwClsContext)
           
  IStorageImpl(CLSID clsid, IUnknown pUnkOuter, ClsCtx dwClsContext)
           
  IStorageImpl(IUnknown that)
           
protected IStorageImpl(IUnknownImpl that)
           
 
Method Summary
 java.lang.Object clone()
           
 void commit(StgCommit grfCommitFlags)
           
 void copyTo(UInt32 ciidExclude, ComplexArray rgiidExclude, SNB snbExclude, IStorage pstgDest)
           
 IStorage createStorage(OleStr pwcsName, StgMode grfMode, UInt32 reserved1, UInt32 reserved2)
           
 IStream createStream(OleStr pwcsName, StgMode grfMode, UInt32 reserved1, UInt32 reserved2)
           
 void destroyElement(OleStr pwcsName)
           
 IEnumStatStg enumElements(UInt32 reserved1, Pointer.Void reserved2, UInt32 reserved3)
           
 IID getIID()
           
 void moveElementTo(OleStr pwcsName, IStorage pstgDest, OleStr pwcsNewName, StgMode grfFlags)
           
 IStorage openStorage(OleStr pwcsName, IStorage pStgPriority, StgMode grfMode, SNB snbExclude, UInt32 reserved)
           
 IStream openStream(OleStr pwcsName, Pointer.Void reserved1, StgMode grfMode, UInt32 reserved2)
           
 void renameElement(OleStr pwcsName, OleStr pwcsNewName)
           
 void revert()
           
 void setClass(CLSID clsid)
           
 void setElementTimes(OleStr pwcsName, FileTime pctime, FileTime patime, FileTime pmtime)
           
 void setStateBits(UInt32 grfStateBits, UInt32 grfMask)
           
 StatStg stat(StatFlag grfStatFlag)
           
 
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.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

IStorageImpl

public IStorageImpl()

IStorageImpl

protected IStorageImpl(IUnknownImpl that)
                throws ComException

IStorageImpl

public IStorageImpl(IUnknown that)

IStorageImpl

public IStorageImpl(CLSID clsid,
                    ClsCtx dwClsContext)
             throws ComException

IStorageImpl

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

createStream

public IStream createStream(OleStr pwcsName,
                            StgMode grfMode,
                            UInt32 reserved1,
                            UInt32 reserved2)
                     throws ComException
Specified by:
createStream in interface IStorage
Parameters:
pwcsName - [in]
grfMode - [in]
reserved1 - [in]
reserved2 - [in]
Throws:
ComException

openStream

public IStream openStream(OleStr pwcsName,
                          Pointer.Void reserved1,
                          StgMode grfMode,
                          UInt32 reserved2)
                   throws ComException
Specified by:
openStream in interface IStorage
Parameters:
pwcsName - [in]
reserved1 - [in]
grfMode - [in]
reserved2 - [in]
Throws:
ComException

createStorage

public IStorage createStorage(OleStr pwcsName,
                              StgMode grfMode,
                              UInt32 reserved1,
                              UInt32 reserved2)
                       throws ComException
Specified by:
createStorage in interface IStorage
Parameters:
pwcsName - [in]
grfMode - [in]
reserved1 - [in]
reserved2 - [in]
Throws:
ComException

openStorage

public IStorage openStorage(OleStr pwcsName,
                            IStorage pStgPriority,
                            StgMode grfMode,
                            SNB snbExclude,
                            UInt32 reserved)
                     throws ComException
Specified by:
openStorage in interface IStorage
Parameters:
pwcsName - [in]
pStgPriority - [in]
grfMode - [in]
snbExclude - [in]
reserved - [in]
Throws:
ComException

copyTo

public void copyTo(UInt32 ciidExclude,
                   ComplexArray rgiidExclude,
                   SNB snbExclude,
                   IStorage pstgDest)
            throws ComException
Specified by:
copyTo in interface IStorage
Parameters:
ciidExclude - [in]
rgiidExclude - [in]
snbExclude - [in]
pstgDest - [in]
Throws:
ComException

moveElementTo

public void moveElementTo(OleStr pwcsName,
                          IStorage pstgDest,
                          OleStr pwcsNewName,
                          StgMode grfFlags)
                   throws ComException
Specified by:
moveElementTo in interface IStorage
Parameters:
pwcsName - [in]
pstgDest - [in]
pwcsNewName - [in]
grfFlags - [in]
Throws:
ComException

commit

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

revert

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

enumElements

public IEnumStatStg enumElements(UInt32 reserved1,
                                 Pointer.Void reserved2,
                                 UInt32 reserved3)
                          throws ComException
Specified by:
enumElements in interface IStorage
Parameters:
reserved1 - [in]
reserved2 - [in]
reserved3 - [in]
Throws:
ComException

destroyElement

public void destroyElement(OleStr pwcsName)
                    throws ComException
Specified by:
destroyElement in interface IStorage
Parameters:
pwcsName - [in]
Throws:
ComException

renameElement

public void renameElement(OleStr pwcsName,
                          OleStr pwcsNewName)
                   throws ComException
Specified by:
renameElement in interface IStorage
Parameters:
pwcsName - [in]
pwcsNewName - [in]
Throws:
ComException

setElementTimes

public void setElementTimes(OleStr pwcsName,
                            FileTime pctime,
                            FileTime patime,
                            FileTime pmtime)
                     throws ComException
Specified by:
setElementTimes in interface IStorage
Parameters:
pwcsName - [in]
pctime - [in]
patime - [in]
pmtime - [in]
Throws:
ComException

setClass

public void setClass(CLSID clsid)
              throws ComException
Specified by:
setClass in interface IStorage
Parameters:
clsid - [in]
Throws:
ComException

setStateBits

public void setStateBits(UInt32 grfStateBits,
                         UInt32 grfMask)
                  throws ComException
Specified by:
setStateBits in interface IStorage
Parameters:
grfStateBits - [in]
grfMask - [in]
Throws:
ComException

stat

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

getIID

public IID getIID()
Overrides:
getIID in class IUnknownImpl

clone

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