| Package | Description |
|---|---|
| com.eclipsesource.v8 | |
| com.eclipsesource.v8.utils |
| Modifier and Type | Field and Description |
|---|---|
protected V8 |
V8Value.v8 |
| Modifier and Type | Method and Description |
|---|---|
static V8 |
V8.createV8Runtime()
Creates a new V8Runtime and loads the required
native libraries if they are not already loaded.
|
static V8 |
V8.createV8Runtime(String globalAlias)
Creates a new V8Runtime and loads the required native libraries if they
are not already loaded.
|
static V8 |
V8.createV8Runtime(String globalAlias,
String tempDirectory)
Creates a new V8Runtime and loads the required native libraries if they
are not already loaded.
|
V8 |
V8Value.getRuntime()
Gets the runtime this Value was created on.
|
V8 |
V8Value.getRutime()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
V8.processDebugMessages(V8 runtime)
Deprecated.
|
| Constructor and Description |
|---|
V8Array(V8 v8)
Creates a new V8Array and associates it with the given runtime.
|
V8Function(V8 v8) |
V8Object(V8 v8)
Create a new V8Object and associate it with a runtime.
|
V8Value(V8 v8) |
| Modifier and Type | Method and Description |
|---|---|
static Object |
V8ObjectUtils.getV8Result(V8 v8,
Object value)
Returns an object usable with a V8 Runtime which represents
the parameter 'value'.
|
static void |
V8ObjectUtils.pushValue(V8 v8,
V8Array array,
Object value)
Pushes a Java Object to a V8Array by first converting it to a V8Value if needed.
|
void |
V8Runnable.run(V8 runtime)
Execute the code on the provided runtime.
|
protected void |
V8Executor.setup(V8 runtime)
Override to provide a custom setup for this V8 runtime.
|
static V8Array |
V8ObjectUtils.toV8Array(V8 v8,
List<? extends Object> list)
Creates a V8Array from a java.util.List.
|
static V8Object |
V8ObjectUtils.toV8Object(V8 v8,
Map<String,? extends Object> map)
Creates a V8Object from a java.util.Map.
|
Copyright © 2015. All rights reserved.