DocumentWeb
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.IVentureLicenseTarget, com.aspose.pdf.ADocument
All Implemented Interfaces: com.aspose.pdf.IDocument
public final class DocumentWeb extends ADocument implements IDocument
Represents DocumentWeb class
Constructors
Constructor | Description |
---|---|
DocumentWeb() | Initializes empty DocumentWeb. |
DocumentWeb(InputStream input) | Initialize new DocumentWeb instance from the input stream. |
DocumentWeb(InputStream input, String password) | |
DocumentWeb(InputStream input, LoadOptions options) | Opens an existing DocumentWeb from a stream providing necessary converting to get pdf DocumentWeb. |
DocumentWeb(String filename, LoadOptions options) | |
DocumentWeb(String filename) | Just init DocumentWeb using filename . |
DocumentWeb(String filename, String password) | Initializes new instance of the DocumentWeb class for working with encrypted DocumentWeb. |
Methods
Method | Description |
---|---|
save(HttpServletResponse response, String outputFileName, int disposition, SaveOptions options) | Saves the document to a response stream with a save options. |
DocumentWeb()
public DocumentWeb()
Initializes empty DocumentWeb.
DocumentWeb(InputStream input)
public DocumentWeb(InputStream input)
Initialize new DocumentWeb instance from the input stream.
Parameters:
Parameter | Type | Description |
---|---|---|
input | java.io.InputStream | Stream with pdf DocumentWeb. |
DocumentWeb(InputStream input, String password)
public DocumentWeb(InputStream input, String password)
Parameters:
Parameter | Type | Description |
---|---|---|
input | java.io.InputStream | |
password | java.lang.String |
DocumentWeb(InputStream input, LoadOptions options)
public DocumentWeb(InputStream input, LoadOptions options)
Opens an existing DocumentWeb from a stream providing necessary converting to get pdf DocumentWeb.
Parameters:
Parameter | Type | Description |
---|---|---|
input | java.io.InputStream | Input stream to convert into pdf DocumentWeb. |
options | LoadOptions | Represents properties for converting input into pdf DocumentWeb. |
DocumentWeb(String filename, LoadOptions options)
public DocumentWeb(String filename, LoadOptions options)
Parameters:
Parameter | Type | Description |
---|---|---|
filename | java.lang.String | |
options | LoadOptions |
DocumentWeb(String filename)
public DocumentWeb(String filename)
Just init DocumentWeb using filename . The same as DocumentWeb(Stream) .
Parameters:
Parameter | Type | Description |
---|---|---|
filename | java.lang.String | The name of the pdf DocumentWeb file. |
DocumentWeb(String filename, String password)
public DocumentWeb(String filename, String password)
Initializes new instance of the DocumentWeb class for working with encrypted DocumentWeb.
Parameters:
Parameter | Type | Description |
---|---|---|
filename | java.lang.String | DocumentWeb file name. |
password | java.lang.String | User or owner password. |
save(HttpServletResponse response, String outputFileName, int disposition, SaveOptions options)
public void save(HttpServletResponse response, String outputFileName, int disposition, SaveOptions options)
Saves the document to a response stream with a save options.
Parameters:
Parameter | Type | Description |
---|---|---|
response | javax.servlet.http.HttpServletResponse | Encapsulates HTTP-response information. |
outputFileName | java.lang.String | Simple file name, i.e. without path. |
disposition | int | Represents a MIME protocol Content-Disposition header. |
options | SaveOptions | Save options. |