You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li><ahref="com/jgcomptech/tools/dialogs/MessageBoxDefaultButton.html" title="enum in com.jgcomptech.tools.dialogs" target="classFrame">MessageBoxDefaultButton</a></li>
44
44
<li><ahref="com/jgcomptech/tools/dialogs/MessageBoxIcon.html" title="enum in com.jgcomptech.tools.dialogs" target="classFrame">MessageBoxIcon</a></li>
45
45
<li><ahref="com/jgcomptech/tools/Misc.html" title="class in com.jgcomptech.tools" target="classFrame">Misc</a></li>
46
-
<li><ahref="com/jgcomptech/tools/Misc.Init.html" title="class in com.jgcomptech.tools" target="classFrame">Misc.Init</a></li>
46
+
<li><ahref="com/jgcomptech/tools/Misc.SecondsConverter.html" title="class in com.jgcomptech.tools" target="classFrame">Misc.SecondsConverter</a></li>
47
+
<li><ahref="com/jgcomptech/tools/Misc.SecondsConverter.NegativeNumberException.html" title="class in com.jgcomptech.tools" target="classFrame">Misc.SecondsConverter.NegativeNumberException</a></li>
47
48
<li><ahref="com/jgcomptech/tools/NativeMethods.html" title="class in com.jgcomptech.tools" target="classFrame">NativeMethods</a></li>
48
49
<li><ahref="com/jgcomptech/tools/NativeMethods.Kernel32.html" title="interface in com.jgcomptech.tools" target="classFrame"><spanclass="interfaceName">NativeMethods.Kernel32</span></a></li>
49
50
<li><ahref="com/jgcomptech/tools/NativeMethods.Secur32.html" title="interface in com.jgcomptech.tools" target="classFrame"><spanclass="interfaceName">NativeMethods.Secur32</span></a></li>
<li><ahref="com/jgcomptech/tools/dialogs/MessageBoxDefaultButton.html" title="enum in com.jgcomptech.tools.dialogs">MessageBoxDefaultButton</a></li>
44
44
<li><ahref="com/jgcomptech/tools/dialogs/MessageBoxIcon.html" title="enum in com.jgcomptech.tools.dialogs">MessageBoxIcon</a></li>
45
45
<li><ahref="com/jgcomptech/tools/Misc.html" title="class in com.jgcomptech.tools">Misc</a></li>
46
-
<li><ahref="com/jgcomptech/tools/Misc.Init.html" title="class in com.jgcomptech.tools">Misc.Init</a></li>
46
+
<li><ahref="com/jgcomptech/tools/Misc.SecondsConverter.html" title="class in com.jgcomptech.tools">Misc.SecondsConverter</a></li>
47
+
<li><ahref="com/jgcomptech/tools/Misc.SecondsConverter.NegativeNumberException.html" title="class in com.jgcomptech.tools">Misc.SecondsConverter.NegativeNumberException</a></li>
47
48
<li><ahref="com/jgcomptech/tools/NativeMethods.html" title="class in com.jgcomptech.tools">NativeMethods</a></li>
48
49
<li><ahref="com/jgcomptech/tools/NativeMethods.Kernel32.html" title="interface in com.jgcomptech.tools"><spanclass="interfaceName">NativeMethods.Kernel32</span></a></li>
49
50
<li><ahref="com/jgcomptech/tools/NativeMethods.Secur32.html" title="interface in com.jgcomptech.tools"><spanclass="interfaceName">NativeMethods.Secur32</span></a></li>
<pre>public static <ahref="../../../com/jgcomptech/tools/CommandInfo.Output.html" title="class in com.jgcomptech.tools">CommandInfo.Output</a> Run(java.lang.String command,
207
-
java.lang.String args)</pre>
207
+
java.lang.String args)
208
+
throws java.io.IOException,
209
+
java.lang.InterruptedException</pre>
208
210
<divclass="block">Runs command and returns results to ArrayList in Output object</div>
<dd><code>args</code> - Arguments to pass to command</dd>
213
215
<dt><spanclass="returnLabel">Returns:</span></dt>
214
216
<dd>Output object</dd>
217
+
<dt><spanclass="throwsLabel">Throws:</span></dt>
218
+
<dd><code>java.io.IOException</code> - if error occurs</dd>
219
+
<dd><code>java.lang.InterruptedException</code> - if command is interrupted</dd>
215
220
</dl>
216
221
</li>
217
222
</ul>
@@ -223,7 +228,9 @@ <h4>Run</h4>
223
228
<h4>Run</h4>
224
229
<pre>public static <ahref="../../../com/jgcomptech/tools/CommandInfo.Output.html" title="class in com.jgcomptech.tools">CommandInfo.Output</a> Run(java.lang.String command,
225
230
java.lang.String args,
226
-
boolean elevate)</pre>
231
+
boolean elevate)
232
+
throws java.io.IOException,
233
+
java.lang.InterruptedException</pre>
227
234
<divclass="block">Runs command elevated, shows cmd window and pauses window when command is complete <p>
228
235
If "elevate" parameter is false, it is ignored and and results will be saved to Output object <p>
229
236
If OS is not Windows, "elevate" parameter is ignored and results will be saved to Output object</div>
@@ -234,6 +241,9 @@ <h4>Run</h4>
234
241
<dd><code>elevate</code> - Boolean to set if command should be run elevated, if true Output object will be empty</dd>
235
242
<dt><spanclass="returnLabel">Returns:</span></dt>
236
243
<dd>Output object</dd>
244
+
<dt><spanclass="throwsLabel">Throws:</span></dt>
245
+
<dd><code>java.io.IOException</code> - if error occurs</dd>
246
+
<dd><code>java.lang.InterruptedException</code> - if command is interrupted</dd>
237
247
</dl>
238
248
</li>
239
249
</ul>
@@ -243,12 +253,13 @@ <h4>Run</h4>
243
253
<ulclass="blockListLast">
244
254
<liclass="blockList">
245
255
<h4>Run</h4>
246
-
<pre>@NotNull
247
-
public static <ahref="../../../com/jgcomptech/tools/CommandInfo.Output.html" title="class in com.jgcomptech.tools">CommandInfo.Output</a> Run(java.lang.String command,
248
-
java.lang.String args,
249
-
boolean elevate,
250
-
boolean hideWindow,
251
-
boolean keepWindowOpen)</pre>
256
+
<pre>public static <ahref="../../../com/jgcomptech/tools/CommandInfo.Output.html" title="class in com.jgcomptech.tools">CommandInfo.Output</a> Run(java.lang.String command,
257
+
java.lang.String args,
258
+
boolean elevate,
259
+
boolean hideWindow,
260
+
boolean keepWindowOpen)
261
+
throws java.io.IOException,
262
+
java.lang.InterruptedException</pre>
252
263
<divclass="block">Runs command according to parameters, will only open cmd window if OS is Windows <p>
253
264
If OS is not Windows, all boolean parameters are ignored and results will be saved to Output object</div>
254
265
<dl>
@@ -265,6 +276,9 @@ <h4>Run</h4>
265
276
open when hidden and unnecessarily using RAM</dd>
266
277
<dt><spanclass="returnLabel">Returns:</span></dt>
267
278
<dd>Output object</dd>
279
+
<dt><spanclass="throwsLabel">Throws:</span></dt>
280
+
<dd><code>java.io.IOException</code> - if error occurs</dd>
281
+
<dd><code>java.lang.InterruptedException</code> - if command is interrupted</dd>
<thclass="colLast" scope="col">Method and Description</th>
171
171
</tr>
172
172
<trid="i0" class="altColor">
173
+
<tdclass="colFirst"><code>static <ahref="../../../com/jgcomptech/tools/HWInfo.HWObject.html" title="class in com.jgcomptech.tools">HWInfo.HWObject</a></code></td>
<tdclass="colFirst"><code>static <ahref="../../../com/jgcomptech/tools/OSInfo.OSObject.html" title="class in com.jgcomptech.tools">OSInfo.OSObject</a></code></td>
<pre>public static <ahref="../../../com/jgcomptech/tools/OSInfo.OSObject.html" title="class in com.jgcomptech.tools">OSInfo.OSObject</a> ReInitalizeOS()
<pre>public static <ahref="../../../com/jgcomptech/tools/OSInfo.OSObject.html" title="class in com.jgcomptech.tools">OSInfo.OSObject</a> ReinitalizeOS()</pre>
273
+
<h4>ReInitalizeHW</h4>
274
+
<pre>public static <ahref="../../../com/jgcomptech/tools/HWInfo.HWObject.html" title="class in com.jgcomptech.tools">HWInfo.HWObject</a> ReInitalizeHW()
<pre>public static class <spanclass="typeNameLabel">HWInfo.BIOSObject</span>
116
116
extends java.lang.Object</pre>
117
+
<divclass="block">A BIOS Object for use with the <ahref="../../../com/jgcomptech/tools/ComputerInfo.html" title="class in com.jgcomptech.tools"><code>ComputerInfo</code></a> class</div>
<pre>public static class <spanclass="typeNameLabel">HWInfo.DriveObject</span>
116
116
extends java.lang.Object</pre>
117
+
<divclass="block">A Drive Object for use with the <ahref="../../../com/jgcomptech/tools/ComputerInfo.html" title="class in com.jgcomptech.tools"><code>ComputerInfo</code></a> class</div>
<pre>public static class <spanclass="typeNameLabel">HWInfo.HWObject</span>
116
116
extends java.lang.Object</pre>
117
+
<divclass="block">A Hardware Object for use with the <ahref="../../../com/jgcomptech/tools/ComputerInfo.html" title="class in com.jgcomptech.tools"><code>ComputerInfo</code></a> class</div>
0 commit comments