com.aspose.slides
Class StreamWrapperFactory

java.lang.Object
  extended by com.aspose.slides.StreamWrapperFactory
All Implemented Interfaces:
IStreamWrapperFactory

public class StreamWrapperFactory
extends java.lang.Object
implements IStreamWrapperFactory

Factory of StreamWrappers. For COM interface.


Constructor Summary
StreamWrapperFactory()
           
 
Method Summary
 IStreamWrapper createFileStreamWrapper(java.lang.String fileName, int fileMode)
           Creates FileStream with the specified path and creation mode.
 IStreamWrapper createFileStreamWrapper(java.lang.String fileName, int fileMode, int fileAccess)
           Creates FileStream with the specified path, creation mode, and read/write permission.
 IStreamWrapper createMemoryStreamWrapper()
           Creates MemoryStream wrapper.
 IStreamWrapper createMemoryStreamWrapper(byte[] buffer)
           Creates MemoryStream wrapper based on the specified byte array.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamWrapperFactory

public StreamWrapperFactory()
Method Detail

createMemoryStreamWrapper

public IStreamWrapper createMemoryStreamWrapper()

Creates MemoryStream wrapper.

Specified by:
createMemoryStreamWrapper in interface IStreamWrapperFactory

createMemoryStreamWrapper

public IStreamWrapper createMemoryStreamWrapper(byte[] buffer)

Creates MemoryStream wrapper based on the specified byte array.

Specified by:
createMemoryStreamWrapper in interface IStreamWrapperFactory

createFileStreamWrapper

public IStreamWrapper createFileStreamWrapper(java.lang.String fileName,
                                              int fileMode)

Creates FileStream with the specified path and creation mode.

Specified by:
createFileStreamWrapper in interface IStreamWrapperFactory

createFileStreamWrapper

public IStreamWrapper createFileStreamWrapper(java.lang.String fileName,
                                              int fileMode,
                                              int fileAccess)

Creates FileStream with the specified path, creation mode, and read/write permission.

Specified by:
createFileStreamWrapper in interface IStreamWrapperFactory