com.jniwrapper.win32.shell
Class Shell32

java.lang.Object
  extended bycom.jniwrapper.util.FunctionCache
      extended bycom.jniwrapper.win32.WinFunctionCache
          extended bycom.jniwrapper.win32.shell.Shell32

public class Shell32
extends WinFunctionCache

This class provides functions from shell32 library.


Field Summary
static java.lang.String VERB_Edit
           
static java.lang.String VERB_Find
           
static java.lang.String VERB_Open
           
static java.lang.String VERB_Print
           
 
Method Summary
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.
 
Methods inherited from class com.jniwrapper.win32.WinFunctionCache
isUnicode, setUnicode, setupEncoding
 
Methods inherited from class com.jniwrapper.util.FunctionCache
getFunction, getVariable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERB_Open

public static final java.lang.String VERB_Open
See Also:
Constant Field Values

VERB_Edit

public static final java.lang.String VERB_Edit
See Also:
Constant Field Values

VERB_Find

public static final java.lang.String VERB_Find
See Also:
Constant Field Values

VERB_Print

public static final java.lang.String VERB_Print
See Also:
Constant Field Values
Method Detail

getInstance

public static Shell32 getInstance()

open

public static final void open(java.io.File file)
Opens the specified file using the ShellExecute function.

Parameters:
file - file to open

shellExecute

public 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)
The wrapper for ShellExecute API function.