public abstract class Facade extends Object implements IFacade, com.aspose.ms.System.IDisposable
Base facade class.
Modifier and Type | Method and Description |
---|---|
void |
bindPdf(IDocument srcDoc)
Initializes the facade.
|
void |
bindPdf(InputStream srcStream)
Initializes the facade.
|
void |
bindPdf(InputStream srcStream,
String password)
Initializes the facade.
|
void |
bindPdf(String srcFile)
Initializes the facade.
|
void |
bindPdf(String srcFile,
String password)
Initializes the facade.
|
void |
close()
Disposes Document bound with a facade.
|
void |
dispose()
Disposes the facade.
|
IDocument |
getDocument()
Gets the document facade is working on.
|
public IDocument getDocument()
Gets the document facade is working on.
public void bindPdf(String srcFile)
Initializes the facade.
public void bindPdf(InputStream srcStream)
Initializes the facade.
public void bindPdf(IDocument srcDoc)
Initializes the facade.
public void bindPdf(String srcFile, String password)
srcFile
- The PDF filepassword
- The password of the PDF document.public void bindPdf(InputStream srcStream, String password)
srcStream
- The stream of PDF file.password
- The password of the PDF document.public void close()
Disposes Document bound with a facade.
public void dispose()
Disposes the facade.
dispose
in interface com.aspose.ms.System.IDisposable