com.stimulsoft.report.saveLoad
Class StiEncryptedDocumentSLService

java.lang.Object
  extended by com.stimulsoft.report.saveLoad.StiSLService
      extended by com.stimulsoft.report.saveLoad.StiDocumentSLService
          extended by com.stimulsoft.report.saveLoad.StiEncryptedDocumentSLService

public class StiEncryptedDocumentSLService
extends StiDocumentSLService

Copyright Stimulsoft


Constructor Summary
StiEncryptedDocumentSLService()
           
 
Method Summary
 java.lang.String getFilter()
           
 java.lang.String getKey()
           
 boolean getMultiplePages()
          If the provider handles with multitude of files then true.
 void save(StiReport report, java.io.OutputStream stream)
          Saves a document in the stream.
 void setKey(java.lang.String key)
           
 
Methods inherited from class com.stimulsoft.report.saveLoad.StiSLService
getDocumentSLServices
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiEncryptedDocumentSLService

public StiEncryptedDocumentSLService()
Method Detail

save

public void save(StiReport report,
                 java.io.OutputStream stream)
          throws java.io.IOException,
                 java.security.NoSuchAlgorithmException
Description copied from class: StiSLService
Saves a document in the stream.

Specified by:
save in class StiSLService
Parameters:
report - Rendered for saving.
stream - Stream to save documents.
Throws:
java.io.IOException
java.security.NoSuchAlgorithmException

getFilter

public java.lang.String getFilter()
Specified by:
getFilter in class StiSLService
Returns:
Returns a filter for the provider.

getMultiplePages

public boolean getMultiplePages()
Description copied from class: StiDocumentSLService
If the provider handles with multitude of files then true. If does not then false.

Specified by:
getMultiplePages in class StiDocumentSLService
Returns:

getKey

public java.lang.String getKey()
Returns:
the Key for encryption

setKey

public void setKey(java.lang.String key)
Parameters:
key - the Key for encryption to set