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 |
generateDebugInfoZip(io.neow3j.compiler.DebugInfo debugInfo,
java.lang.String outDirString,
java.lang.String fileName)
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 generateDebugInfoZip(io.neow3j.compiler.DebugInfo debugInfo,
java.lang.String outDirString,
java.lang.String fileName)
throws java.io.IOException
debugInfo - The debug information to include in the ZIP file.outDirString - The directory (absolute path) where the ZIP file should be stored.fileName - The desired name of the ZIP file and the included JSON file. This
must not include the file name ending. The ending is added accordingly to
what the Neo Debugger expects.java.io.IOException - If an error occurs when writing the file.