Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ABOVE_NORMAL - Static variable in class org.jvnet.winp.Priority
- all() - Static method in class org.jvnet.winp.WinProcess
-
Enumerates all the processes in the system.
B
- BELOW_NORMAL - Static variable in class org.jvnet.winp.Priority
E
- enableDebugPrivilege() - Static method in class org.jvnet.winp.WinProcess
-
Elevates the security privilege of this process so that we can obtain information about processes owned by other users.
- ExitWindows - Class in org.jvnet.winp
-
Exit Windows.
- ExitWindows.Flag - Enum Class in org.jvnet.winp
-
Flags to control the behavior of ExitWindows.
F
- FORCE - Enum constant in enum class org.jvnet.winp.ExitWindows.Flag
- FORCEIFHUNG - Enum constant in enum class org.jvnet.winp.ExitWindows.Flag
G
- getCommandLine() - Method in class org.jvnet.winp.WinProcess
-
Gets the command line given to this process.
- getEnvironmentVariables() - Method in class org.jvnet.winp.WinProcess
-
Gets the environment variables of this process.
- getPid() - Method in class org.jvnet.winp.WinProcess
-
Gets the process ID.
- getWin32ErrorCode() - Method in exception org.jvnet.winp.WinpException
-
Win32 error code, if this error originated in a failed Win32 API call.
H
I
- IDLE - Static variable in class org.jvnet.winp.Priority
- isCriticalProcess() - Method in class org.jvnet.winp.WinProcess
- isRunning() - Method in class org.jvnet.winp.WinProcess
K
- kill() - Method in class org.jvnet.winp.WinProcess
- killRecursively() - Method in class org.jvnet.winp.WinProcess
-
Kills this process and all the descendant processes that this process launched.
L
- logOff(ExitWindows.Flag) - Static method in class org.jvnet.winp.ExitWindows
-
Logs off the current user.
M
- main(String[]) - Static method in class org.jvnet.winp.Main
- Main - Class in org.jvnet.winp
-
Test driver class
- Main() - Constructor for class org.jvnet.winp.Main
N
- NONE - Enum constant in enum class org.jvnet.winp.ExitWindows.Flag
- NORMAL - Static variable in class org.jvnet.winp.Priority
- NotWindowsException - Exception in org.jvnet.winp
-
Indicates that the JVM is not running on Windows.
- NotWindowsException(Throwable) - Constructor for exception org.jvnet.winp.NotWindowsException
O
- org.jvnet.winp - package org.jvnet.winp
P
- powerOff(ExitWindows.Flag) - Static method in class org.jvnet.winp.ExitWindows
-
Shuts down the machine.
- Priority - Class in org.jvnet.winp
-
Represents the constants for process execution priority.
- Priority() - Constructor for class org.jvnet.winp.Priority
R
- REALTIME - Static variable in class org.jvnet.winp.Priority
- reboot(ExitWindows.Flag) - Static method in class org.jvnet.winp.ExitWindows
-
Reboots the machine.
S
- sendCtrlC() - Method in class org.jvnet.winp.WinProcess
-
Sends Ctrl+C to the process.
- setPriority(int) - Method in class org.jvnet.winp.WinProcess
-
Sets the execution priority of this thread.
T
- toString() - Method in class org.jvnet.winp.WinProcess
V
- valueOf(String) - Static method in enum class org.jvnet.winp.ExitWindows.Flag
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.jvnet.winp.ExitWindows.Flag
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WinpException - Exception in org.jvnet.winp
-
Indicates a problem in Winp.
- WinpException() - Constructor for exception org.jvnet.winp.WinpException
- WinpException(String) - Constructor for exception org.jvnet.winp.WinpException
- WinpException(String, int, String, int) - Constructor for exception org.jvnet.winp.WinpException
-
Used by JNI to report an error.
- WinpException(String, Throwable) - Constructor for exception org.jvnet.winp.WinpException
- WinpException(Throwable) - Constructor for exception org.jvnet.winp.WinpException
- WinProcess - Class in org.jvnet.winp
-
Represents a Windows process.
- WinProcess(int) - Constructor for class org.jvnet.winp.WinProcess
-
Wraps a process ID.
- WinProcess(Process) - Constructor for class org.jvnet.winp.WinProcess
-
Wraps
Process
intoWinProcess
.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form