com.mucommander.file.util
Class Shell32
java.lang.Object
com.mucommander.file.util.Shell32
public class Shell32
- extends java.lang.Object
This class provides access to a static instance of the Shell32API interface,
allowing to invoke some Shell32 Windows DLL functions. Access to the Shell32 DLL is provided by the JNA library,
which may not be available on certain OS/CPU architectures: isAvailable() can be used to determine that.
- Author:
- Maxence Bernard
- See Also:
Shell32API
|
Method Summary |
static Shell32API |
getInstance()
Returns a static instance of the Shell32API interface, allowing to invoke
some Shell32 Windows DLL functions. |
static boolean |
isAvailable()
Returns true if the Shell32 API can be accessed on the current OS/CPU architecture. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Shell32
public Shell32()
isAvailable
public static boolean isAvailable()
- Returns
true if the Shell32 API can be accessed on the current OS/CPU architecture.
- Returns:
true if the Shell32 API can be accessed on the current OS/CPU architecture
getInstance
public static Shell32API getInstance()
- Returns a static instance of the
Shell32API interface, allowing to invoke
some Shell32 Windows DLL functions. null will be returned if isAvailable() returned
false.
- Returns:
- a static instance of the
Shell32API interface, null if
the current OS/CPU architecture is not supported
This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard