-
Notifications
You must be signed in to change notification settings - Fork 1
/
JavaDecompiler.cs
76 lines (60 loc) · 2.56 KB
/
JavaDecompiler.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
using System.Diagnostics;
using fastLPI.tools.decompiler.helper;
namespace fastLPI.tools.decompiler
{
public class JavaDecompiler : IJavaDecompiler
{
/// <summary>
/// The path to the input file.
/// </summary>
private protected virtual string PathIn { get; set; }
/// <summary>
/// Path to the output file.
/// </summary>
private protected virtual string PathTo { get; set; }
/// <summary>
/// The path to the bat file to be executed by the decompiler.
/// </summary>
private protected virtual string DecompilerBatPath { get; set; }
/// <summary>
/// The path to the edited (performing) bat file to be executed by the decompiler.
/// </summary>
private protected virtual string DecompilerExeBatPath { get; set; }
/// <summary>
/// The path to the decompiler.
/// </summary>
private protected virtual string DecompilerPath { get; set; }
/// <summary>
/// Decompiler process.
/// </summary>
private protected virtual Process DecompilerProcess { get; set; }
/// <summary>
/// Run a process without creating a window.
/// </summary>
public virtual bool CreateNoWindow { get; set; } = false;
/// <returns>void</returns>
public virtual void Decompile(bool insertFile = false) =>
throw new NonExistingMethodException();
/// <returns>CreateNoWindow</returns>
public virtual bool GetCreateNoWindow() =>
throw new NonExistingMethodException();
/// <returns>DecompilerBatPath</returns>
public virtual string GetDecompilerBatPath() =>
throw new NonExistingMethodException();
/// <returns>DecompilerExeBatPath</returns>
public virtual string GetDecompilerExeBatPath() =>
throw new NonExistingMethodException();
/// <returns>DecompilerPath</returns>
public virtual string GetDecompilerPath() =>
throw new NonExistingMethodException();
/// <returns>DecompilerProcess</returns>
public virtual Process GetDecompilerProcess() =>
throw new NonExistingMethodException();
/// <returns>PathIn</returns>
public virtual string GetPathIn() =>
throw new NonExistingMethodException();
/// <returns>PathTo</returns>
public virtual string GetPathTo() =>
throw new NonExistingMethodException();
}
}