CLASS: OutputStreamFactory
Class NotesOutputStreamFactory

OutputStreamFactory
|
+--NotesOutputStreamFactory

OutputStreamFactory implementation that writes to a Notes database. The Prepare() method deletes all files in the "virtual" directory.is


Methods Summary
PublicDelete()
     Destructor.
PublicNew(db_write As NotesDatabase, title As String, directory As String)
     Constructor.
PublicPrepare()
     

Functions Summary
Public OutputStreamGetOutputStream(key As String)
     
Public StringGetUrl(key As String)
     Returns the url to the document with the supplied key.

Method Detail

Delete

Public Sub Delete()
Destructor.

New

Public New(db_write As NotesDatabase, title As String, directory As String)
Constructor.
Parameter(s):
db_process - The database we are processing and for which the replica id is used as the "directory" (specify Nothing for NotesSession.CurrentDatabase)
db_write - The database we should write to (specify Nothing for NotesSession.CurrentDatabase).

Prepare

Public Sub Prepare()
See:
OutputStreamFactory#Prepare

Function Detail

GetOutputStream

Public Function GetOutputStream(key As String) As OutputStream
See:
OutputStreamFactory#GetOutputStream

GetUrl

Public Function GetUrl(key As String) As String
Returns the url to the document with the supplied key.
Parameter(s):
key - The key