HTMLPage2Contentpublic interface Content
| Modifier and Type | Method | Description |
|---|---|---|
void |
addProperty(String name,
String value) |
Manually add a property to page.
|
String |
getProperty(String name) |
Get a property embedded into the
Page as a String. |
String[] |
getPropertyKeys() |
Get all available property keys for the
Page. |
String |
getTitle() |
Get the Title of the document
|
int |
originalLength() |
Length of the original unprocessed content.
|
void |
writeBody(Writer out) |
Write the contents of the
<body> tag. |
void |
writeHead(Writer out) |
Write the contents of the
<head> tag. |
void |
writeOriginal(Writer writer) |
Write out the original unprocessed content.
|
void writeOriginal(Writer writer) throws IOException
IOExceptionint originalLength()
void writeBody(Writer out) throws IOException
<body> tag.IOExceptionvoid writeHead(Writer out) throws IOException
<head> tag.IOExceptionString getTitle()
String getProperty(String name)
Page as a String.name - Name of propertyString[] getPropertyKeys()
Page.