Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
C
D
- DEFAULT_SETTLE_MS - Static variable in class org.nordstjernen.Nordstjernen
-
Default settle time (ms) for the one-shot convenience methods.
E
- equals(Object) - Method in record class org.nordstjernen.Size
-
Indicates whether some other object is "equal to" this one.
H
- hashCode() - Method in record class org.nordstjernen.Size
-
Returns a hash code value for this object.
- height() - Method in record class org.nordstjernen.Size
-
Returns the value of the
heightrecord component.
I
- init() - Static method in class org.nordstjernen.Nordstjernen
-
Initialize the engine (idempotent).
L
- linkAt(int, int) - Method in class org.nordstjernen.Page
-
The absolute URL of the link at page coordinates
(x, y)in CSS pixels, ornullif there is none. - links() - Method in class org.nordstjernen.Page
-
All
<a href>links on the page as absolute URLs, de-duplicated and in document order. - linksOf(String, int) - Static method in class org.nordstjernen.Nordstjernen
-
Open
url, collect its links, and close.
M
- MAX_FULL_PAGE_PX - Static variable in class org.nordstjernen.Page
-
Largest full-page render dimension, in device pixels, to bound memory.
N
- Nordstjernen - Class in org.nordstjernen
-
Entry point for embedding the Nordstjernen browser engine from Java.
- NordstjernenException - Exception Class in org.nordstjernen
-
Thrown when the native engine reports a failure.
- NordstjernenException(String) - Constructor for exception class org.nordstjernen.NordstjernenException
O
- open(String, int, int) - Static method in class org.nordstjernen.Nordstjernen
-
Fetch, parse, lay out and script
url, returning aPage. - org.nordstjernen - package org.nordstjernen
P
- Page - Class in org.nordstjernen
-
A laid-out page.
- pageSize() - Method in class org.nordstjernen.Page
-
Total laid-out page size in CSS pixels.
R
- render(int, int, int, int, double) - Method in class org.nordstjernen.Page
-
Convenience wrapper around
Page.renderRgba(int, int, int, int, double)producing a premultiplied-ARGB image. - renderFullPage(double) - Method in class org.nordstjernen.Page
-
Render the entire page (top to bottom, full width) to a single image at
scale. - renderRgba(int, int, int, int, double) - Method in class org.nordstjernen.Page
-
Render a viewport region into raw RGBA8888 (premultiplied) bytes,
heightrows ofwidth*4bytes. - renderToFile(Path) - Method in class org.nordstjernen.Page
-
Render the whole page to a file.
S
- saveScreenshot(String, int, Path) - Static method in class org.nordstjernen.Nordstjernen
-
Open
url, render the whole page to a PNG/PDF file, and close. - screenshot(String, int, double) - Static method in class org.nordstjernen.Nordstjernen
-
Open
url, render the whole page to an image, and close. - shutdown() - Static method in class org.nordstjernen.Nordstjernen
-
Release process-wide engine state.
- Size - Record Class in org.nordstjernen
-
A width/height pair in CSS pixels.
- Size(int, int) - Constructor for record class org.nordstjernen.Size
-
Creates an instance of a
Sizerecord class.
T
- text() - Method in class org.nordstjernen.Page
-
The rendered text content of the page.
- textOf(String, int) - Static method in class org.nordstjernen.Nordstjernen
-
Open
url, extract its text, and close. - title() - Method in class org.nordstjernen.Page
-
The page's
<title>(whitespace-collapsed), ornull. - toString() - Method in record class org.nordstjernen.Size
-
Returns a string representation of this record class.
U
W
- width() - Method in record class org.nordstjernen.Size
-
Returns the value of the
widthrecord component.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form