public class Neow3jPluginUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
DEBUG_JSON_SUFFIX |
protected static java.lang.String |
DEFAULT_FILENAME |
protected static java.lang.String |
NEF_SUFFIX |
protected static java.lang.String |
NEFDBGNFO_SUFFIX |
| Constructor and Description |
|---|
Neow3jPluginUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
writeDebugInfoZip(io.neow3j.compiler.DebugInfo debugInfo,
java.lang.String contractName,
java.nio.file.Path outDir)
Generates a ZIP file containing a JSON file with the given debug information in it.
|
protected static final java.lang.String NEF_SUFFIX
protected static final java.lang.String DEFAULT_FILENAME
protected static final java.lang.String NEFDBGNFO_SUFFIX
protected static final java.lang.String DEBUG_JSON_SUFFIX
public static java.lang.String writeDebugInfoZip(io.neow3j.compiler.DebugInfo debugInfo,
java.lang.String contractName,
java.nio.file.Path outDir)
throws java.io.IOException
debugInfo - the debug information to include in the ZIP file.contractName - the name of the contract the debug info belongs to.outDir - the directory (absolute path) where the ZIP file should be stored.java.io.IOException - if an error occurs when writing the file.