Package org.jrd.frontend.MainFrame
Class VmDecompilerInformationController
- java.lang.Object
-
- org.jrd.frontend.MainFrame.VmDecompilerInformationController
-
public class VmDecompilerInformationController extends Object
This class provides Action listeners and result proccreateRequestessing for the GUI.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
VmDecompilerInformationController.vmArrayList<T>
-
Field Summary
Fields Modifier and Type Field Description static int
CLASS_BODY
static int
CLASS_NAME
static String
CLASSES_NOPE
-
Constructor Summary
Constructors Constructor Description VmDecompilerInformationController(MainFrameView mainFrameView, Model model)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
bytesToBase64(byte[] bytes)
static AgentRequestAction
createRequest(VmInfo vmInfo, AgentRequestAction.RequestAction action, String... commands)
static String
fileToBase64(String path)
static byte[]
fileToBytes(String path)
static String
stdinToBase64()
static byte[]
stdinToBytes()
static String
submitRequest(VmManager vmManager, AgentRequestAction request)
-
-
-
Field Detail
-
CLASS_NAME
public static final int CLASS_NAME
- See Also:
- Constant Field Values
-
CLASS_BODY
public static final int CLASS_BODY
- See Also:
- Constant Field Values
-
CLASSES_NOPE
public static final String CLASSES_NOPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
VmDecompilerInformationController
public VmDecompilerInformationController(MainFrameView mainFrameView, Model model)
-
-
Method Detail
-
stdinToBase64
public static String stdinToBase64()
-
fileToBytes
public static byte[] fileToBytes(String path) throws IOException
- Throws:
IOException
-
stdinToBytes
public static byte[] stdinToBytes() throws IOException
- Throws:
IOException
-
bytesToBase64
public static String bytesToBase64(byte[] bytes)
-
createRequest
public static AgentRequestAction createRequest(VmInfo vmInfo, AgentRequestAction.RequestAction action, String... commands)
-
submitRequest
public static String submitRequest(VmManager vmManager, AgentRequestAction request)
-
-