public final class PageContents extends Object
| Constructor and Description |
|---|
PageContents(byte[] content,
String id)
Creates a new screen shot object
|
PageContents(char[] content,
String id)
Create a new page source object.
|
PageContents(String content,
String id)
Create a new page source object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Get the id for this page source object
|
String |
getPageSource()
Get the content for this source code object
|
byte[] |
getScreenImage()
Get the image content
|
void |
setId(String id)
Set the id for this page source object
|
void |
setPageSource(String content)
Set the content for this source code object
|
void |
setScreenImage(byte[] content)
Set the image content
|
public PageContents(char[] content,
String id)
content - the content of a web page as an array of charid - the identifier to associate with this page sourcepublic PageContents(byte[] content,
String id)
content - content of the image as a byte arrayid - identifier associated with this imagepublic String getId()
Stringpublic void setId(String id)
id - the identifier to associate as a Stringpublic String getPageSource()
Stringpublic byte[] getScreenImage()
public void setPageSource(String content)
content - the content as a Stringpublic void setScreenImage(byte[] content)
content - byte array representing the image contentCopyright © 2016 PayPal Open Source. All rights reserved.