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 classVmDecompilerInformationController.vmArrayList<T>
-
Field Summary
Fields Modifier and Type Field Description static intCLASS_BODYstatic intCLASS_NAMEstatic StringCLASSES_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 StringbytesToBase64(byte[] bytes)static AgentRequestActioncreateRequest(VmInfo vmInfo, AgentRequestAction.RequestAction action, String... commands)static StringfileToBase64(String path)static byte[]fileToBytes(String path)static StringstdinToBase64()static byte[]stdinToBytes()static StringsubmitRequest(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)
-
-