public final class JavetResourceUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isClosed(java.lang.Object object)
Is closed.
|
static void |
safeClose(java.lang.Object... objects)
Safe close.
|
static void |
safeClose(java.lang.Object object)
Safe close.
|
static void |
safeClose(V8Value... v8Values)
Safe close.
|
static V8Value[] |
toClone(V8Value[] v8Values)
To clone V8 value array.
|
public static boolean isClosed(java.lang.Object object)
object
- the objectpublic static void safeClose(java.lang.Object... objects)
objects
- the objectspublic static void safeClose(V8Value... v8Values)
v8Values
- the V8 valuespublic static void safeClose(java.lang.Object object)
object
- the objectpublic static V8Value[] toClone(V8Value[] v8Values) throws JavetException
v8Values
- the V8 valuesJavetException
- the javet exception