public class Attachment extends Object
Content-Disposition=attachment
header.Constructor and Description |
---|
Attachment(Page page)
Creates a new attachment for the specified page.
|
Modifier and Type | Method and Description |
---|---|
Page |
getPage()
Returns the attached page.
|
String |
getSuggestedFilename()
Returns the attachment's filename, as suggested by the
Content-Disposition
header, or null if no filename was suggested. |
public Attachment(Page page)
page
- the attached pagepublic Page getPage()
public String getSuggestedFilename()
Content-Disposition
header, or null
if no filename was suggested.null
if none was suggestedCopyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.