public class Shell32 extends WinFunctionCache
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VERB_Edit |
static java.lang.String |
VERB_Find |
static java.lang.String |
VERB_Open |
static java.lang.String |
VERB_Print |
Modifier and Type | Method and Description |
---|---|
static Shell32 |
getInstance() |
static void |
open(java.io.File file)
Opens the specified file using the
ShellExecute function. |
static void |
shellExecute(Wnd wnd,
java.lang.String operation,
java.lang.String fileName,
java.lang.String parameters,
java.lang.String directory,
Wnd.ShowWindowCommand showCommand)
The wrapper for
ShellExecute API function. |
isUnicode, setUnicode, setupEncoding
public static final java.lang.String VERB_Open
public static final java.lang.String VERB_Edit
public static final java.lang.String VERB_Find
public static final java.lang.String VERB_Print
public static Shell32 getInstance()
public static final void open(java.io.File file)
ShellExecute
function.file
- file to openpublic static final void shellExecute(Wnd wnd, java.lang.String operation, java.lang.String fileName, java.lang.String parameters, java.lang.String directory, Wnd.ShowWindowCommand showCommand)
ShellExecute
API function.