public class JavetBuiltInModuleResolver extends java.lang.Object implements IV8ModuleResolver
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT
The constant DEFAULT.
|
static java.lang.String |
PREFIX_NODE
The constant PREFIX_NODE.
|
Constructor and Description |
---|
JavetBuiltInModuleResolver() |
Modifier and Type | Method and Description |
---|---|
IV8Module |
resolve(V8Runtime v8Runtime,
java.lang.String resourceName,
IV8Module v8ModuleReferrer)
Resolve V8 module.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAbsoluteResourceName
public static final java.lang.String PREFIX_NODE
public static final java.lang.String DEFAULT
public IV8Module resolve(V8Runtime v8Runtime, java.lang.String resourceName, IV8Module v8ModuleReferrer) throws JavetException
IV8ModuleResolver
resolve
in interface IV8ModuleResolver
v8Runtime
- the V8 runtimeresourceName
- the resource namev8ModuleReferrer
- the V8 module referrerJavetException
- the javet exception