public class V8FileExecutor extends V8StringExecutor
| Modifier and Type | Field and Description |
|---|---|
protected java.io.File |
scriptFile
The Script file.
|
cachedData, scriptStringv8Runtime, v8ScriptOrigin| Constructor and Description |
|---|
V8FileExecutor(V8Runtime v8Runtime,
java.io.File scriptFile)
Instantiates a new V8 path executor.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getScriptFile()
Gets script file.
|
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 V8FileExecutor(V8Runtime v8Runtime, java.io.File scriptFile) throws JavetException
v8Runtime - the V8 runtimescriptFile - the script fileJavetException - the javet exceptionpublic java.io.File getScriptFile()
public java.lang.String getScriptString()
throws JavetException
IV8ExecutorgetScriptString in interface IV8ExecutorgetScriptString in class V8StringExecutorJavetException - the javet exception