public class V8PathExecutor extends V8StringExecutor
| Modifier and Type | Field and Description |
|---|---|
protected java.nio.file.Path |
scriptPath
The Script path.
|
cachedData, scriptStringv8Runtime, v8ScriptOrigin| Constructor and Description |
|---|
V8PathExecutor(V8Runtime v8Runtime,
java.nio.file.Path scriptPath)
Instantiates a new V8 path executor.
|
| Modifier and Type | Method and Description |
|---|---|
java.nio.file.Path |
getScriptPath()
Gets script path.
|
java.lang.String |
getScriptString()
Gets script string.
|
compileV8Module, compileV8Script, compileV8ValueFunction, execute, getCachedDatagetV8Runtime, getV8ScriptOriginclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompileV8Module, compileV8ModuleVoid, compileV8Script, compileV8ScriptVoid, compileV8ValueFunction, compileV8ValueFunction, getResourceName, isModule, setModule, setResourceName, toObject, toV8Valueexecute, executeBigInteger, executeBoolean, executeDouble, executeInteger, executeLong, executeObject, executeString, executeVoid, executeZonedDateTimetoObjectpublic V8PathExecutor(V8Runtime v8Runtime, java.nio.file.Path scriptPath) throws JavetException
v8Runtime - the V8 runtimescriptPath - the script pathJavetException - the javet exceptionpublic java.nio.file.Path getScriptPath()
public java.lang.String getScriptString()
throws JavetException
IV8ExecutorgetScriptString in interface IV8ExecutorgetScriptString in class V8StringExecutorJavetException - the javet exception